Skip to content

Commit 88724a0

Browse files
committed
chore: don't bump version for merge to main
1 parent a08bf76 commit 88724a0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/on-merge-to-main.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,6 @@ jobs:
3232
run: npm run lerna-lint
3333
- name: Run tests
3434
run: npm run lerna-test
35-
- name: "Version and publish"
36-
env:
37-
GH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }}
38-
run: |
39-
git config --global user.name 'github-actions[bot]'
40-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
41-
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY
42-
43-
# For merge to main we
44-
## don't create github release,
45-
## don't update changelog (--no-changelog)
46-
## bump version as a pre-release (--conventional-prerelease)
47-
## add a custom preid (--preid dev): 0.2.0-dev.1 -> 0.2.0-dev.2
48-
npx lerna version --conventional-commits --conventional-prerelease --preid dev --force-publish=* --yes --no-changelog
49-
git push --delete origin $(git describe --abbrev=0)
5035
- name: update release draft
5136
uses: release-drafter/release-drafter@v5.15.0
5237
env:

0 commit comments

Comments
 (0)