File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ permissions:
99 issues : write
1010 pull-requests : write
1111
12+ # Allow GitHub Actions to bypass branch protection
13+ # This is required for semantic-release to push version updates
14+
1215jobs :
1316 release :
1417 runs-on : ubuntu-latest
4750
4851 - name : Setup git branch
4952 run : |
50- git fetch --all --tags
53+ git fetch --all --tags --force
5154 git checkout -B main
5255 git branch --set-upstream-to=origin/main main
56+
57+ # Show all tags for debugging
58+ echo "=== All git tags ==="
59+ git tag -l
60+ echo ""
61+
62+ # Show current package.json version
63+ echo "=== Current package.json version ==="
64+ node -p "require('./package.json').version"
5365
5466 - name : Debug branch info
5567 run : |
Original file line number Diff line number Diff line change 11{
22 "branches" : [
3- " main" ,
43 {
54 "name" : " main" ,
65 "prerelease" : " beta"
You can’t perform that action at this time.
0 commit comments