Skip to content

Commit

Permalink
use major release
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Apr 8, 2024
1 parent 210305e commit 7cc3c9d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/binance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Run build
run: |
. ./scripts/setup.sh
npm version patch -m 'Updating version to %s [skip ci]'
npm version major -m 'Updating version to %s [skip ci]'
npm run build
. ./scripts/gitPush.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Run build
run: |
. ./scripts/setup.sh
npm version patch -m 'Updating version to %s [skip ci]'
npm version major -m 'Updating version to %s [skip ci]'
npm run build
. ./scripts/gitPush.sh
env:
Expand Down
4 changes: 2 additions & 2 deletions scripts/updateIframeIntegrity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ git config user.name "torus-bot"
cd ~/torus-embed/

if [[ "$GITHUB_REF" = 'refs/heads/master' ]]; then
npm version patch -m 'Updating iframe integrity and publish %s'
npm version major -m 'Updating iframe integrity and publish %s'
git push origin master
git push --tags
fi
if [[ "$GITHUB_REF" = 'refs/heads/binance' ]]; then
npm version patch -m 'Updating iframe integrity and publish %s'
npm version major -m 'Updating iframe integrity and publish %s'
git push origin binance
fi

0 comments on commit 7cc3c9d

Please sign in to comment.