File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 git fetch --all --tags --force
6161 git checkout -B main
6262 git branch --set-upstream-to=origin/main main
63-
64- # Show all tags for debugging
65- echo "=== All git tags ==="
66- git tag -l
67- echo ""
68-
69- # Show current package.json version
70- echo "=== Current package.json version ==="
71- node -p "require('./package.json').version"
72-
73- - name : Debug branch info
74- run : |
75- echo "Current branch: $(git branch --show-current)"
76- echo "All branches: $(git branch -a)"
77- echo "Git remote: $(git remote -v)"
78- echo "Git status: $(git status)"
7963
8064 - uses : actions/setup-node@v4
8165 with :
@@ -125,20 +109,6 @@ jobs:
125109 echo "Tag v1.0.0-beta.1 already exists."
126110 fi
127111
128- - name : Debug semantic-release config
129- run : |
130- echo "=== .releaserc.json ==="
131- cat .releaserc.json
132- echo ""
133- echo "=== Git branches ==="
134- git branch -a
135- echo ""
136- echo "=== Current branch ==="
137- git branch --show-current
138- echo ""
139- echo "=== Git tags ==="
140- git tag
141-
142112 - name : Get version before semantic-release
143113 id : version-before
144114 run : |
You can’t perform that action at this time.
0 commit comments