Skip to content

Commit 31131c1

Browse files
committed
only increase version before pr, no pushing (#2184)
1 parent a165cd8 commit 31131c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nightly-dev-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ jobs:
115115
- name: Bump version locally
116116
if: steps.changes.outputs.result == 'ok'
117117
env:
118-
VERSION: ${{ github.event.pull_request.title }}
118+
VERSION: ${{ steps.version.outputs.result }}
119119
run: |
120120
git config --global user.email "[email protected]"
121121
git config --global user.name "Github Action"
122-
122+
123123
git add .
124-
git commit -m "v${VERSION}" && npx lerna version ${VERSION} --exact --ignore-scripts --no-commit-hooks --yes --amend --force-publish || npx lerna version ${VERSION} --exact --ignore-scripts --no-commit-hooks --yes --force-publish
124+
git commit -m "v${VERSION}" && npx lerna version ${VERSION} --no-push --exact --ignore-scripts --no-commit-hooks --yes --amend --force-publish || npx lerna version ${VERSION} --exact --no-push --ignore-scripts --no-commit-hooks --yes --force-publish
125125
126126
- name: Create Pull Request
127127
if: steps.changes.outputs.result == 'ok'

0 commit comments

Comments
 (0)