mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2025-01-08 13:42:11 -05:00
Merge pull request #114 from LLK/circleci-correction1
fix use of VERSION env variable
This commit is contained in:
commit
139d0e7a42
1 changed files with 2 additions and 2 deletions
|
@ -25,14 +25,14 @@ jobs:
|
|||
fingerprints:
|
||||
- "58:62:ab:1f:24:b9:39:5a:ee:8a:e7:28:b2:f2:61:a2"
|
||||
- run:
|
||||
name: "configure npm version"
|
||||
name: "configure release version"
|
||||
command: |
|
||||
VPKG=$($(npm bin)/json -f package.json version)
|
||||
echo "export VERSION=${VPKG/%?/}$(date +%Y%m%d%H%M%S)" >> $BASH_ENV
|
||||
npm --no-git-tag-version version $VERSION
|
||||
- run:
|
||||
name: "publish"
|
||||
command: |
|
||||
npm --no-git-tag-version version $VERSION
|
||||
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
|
||||
npm publish
|
||||
- run:
|
||||
|
|
Loading…
Reference in a new issue