From 5bf64e560de7ec7ee6a1e091a368097a6d4a3e50 Mon Sep 17 00:00:00 2001 From: chaitanyapotti Date: Tue, 26 Sep 2023 16:19:59 +0800 Subject: [PATCH] use patch release --- .github/workflows/binance.yml | 2 +- .github/workflows/master.yml | 2 +- scripts/updateIframeIntegrity.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binance.yml b/.github/workflows/binance.yml index 9ea1bc898..18c9f05a6 100644 --- a/.github/workflows/binance.yml +++ b/.github/workflows/binance.yml @@ -78,7 +78,7 @@ jobs: - name: Run build run: | . ./scripts/setup.sh - npm version major -m 'Updating version to %s [skip ci]' + npm version patch -m 'Updating version to %s [skip ci]' npm run build . ./scripts/gitPush.sh env: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a0eeafa9b..9f6dde6e6 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -78,7 +78,7 @@ jobs: - name: Run build run: | . ./scripts/setup.sh - npm version major -m 'Updating version to %s [skip ci]' + npm version patch -m 'Updating version to %s [skip ci]' npm run build . ./scripts/gitPush.sh env: diff --git a/scripts/updateIframeIntegrity.sh b/scripts/updateIframeIntegrity.sh index b4520c320..641878787 100644 --- a/scripts/updateIframeIntegrity.sh +++ b/scripts/updateIframeIntegrity.sh @@ -7,11 +7,11 @@ git config user.name "torus-bot" cd ~/torus-embed/ if [[ "$GITHUB_REF" = 'refs/heads/master' ]]; then - npm version major -m 'Updating iframe integrity and publish %s' + npm version patch -m 'Updating iframe integrity and publish %s' git push origin master git push --tags fi if [[ "$GITHUB_REF" = 'refs/heads/binance' ]]; then - npm version major -m 'Updating iframe integrity and publish %s' + npm version patch -m 'Updating iframe integrity and publish %s' git push origin binance fi