Skip to content

Commit 5e41e70

Browse files
committed
Merge branch '0.0.4' of github.com:adgorithmics-inc/cinnamon-javascript-sdk into update_for_mutagen
2 parents 51c2554 + fa45ed9 commit 5e41e70

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.circleci/config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,16 @@ jobs:
4040
fingerprints:
4141
- 'ba:c3:f4:48:21:3a:c5:6b:b2:d9:06:e8:bc:ba:7b:e3'
4242

43+
- run:
44+
name: Set branch environemnt variable
45+
command: |
46+
echo '(echo "$CIRCLE_TAG" | grep -Eq ^.*-rc.*$) && export BRANCH=$(echo "$CIRCLE_TAG" | sed "s/^v//" | sed "s/-rc.*//") || export BRANCH="master"' >> $BASH_ENV
47+
source $BASH_ENV
4348
- run: npm version --no-git-tag-version ${CIRCLE_TAG}
4449
- run: git add package.json package-lock.json
4550
- run: git commit -m "Automatic NPM version bump ${CIRCLE_TAG}"
4651
- run: git checkout -b temp
47-
- run: git push origin temp:master
52+
- run: git push origin temp:$BRANCH
4853
- run: npm publish
4954

5055
publish-hot:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adgorithmics/cinnamon-javascript-sdk",
3-
"version": "0.0.4-rc.6",
3+
"version": "0.0.4-rc.7",
44
"description": "",
55
"main": "index.node.js",
66
"browser": "index.web.js",

0 commit comments

Comments
 (0)