We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cec039 commit 0aab3a3Copy full SHA for 0aab3a3
.github/workflows/release.yml
@@ -66,6 +66,16 @@ jobs:
66
67
- run: npm test --if-present
68
69
+ - name: Create initial tag if needed
70
+ run: |
71
+ if ! git rev-parse --verify "v1.0.0-beta.1" >/dev/null 2>&1; then
72
+ echo "Creating initial tag v1.0.0-beta.1"
73
+ git tag -a "v1.0.0-beta.1" -m "chore: initial beta release"
74
+ git push origin "v1.0.0-beta.1" || echo "Tag push failed (may not have permission or tag exists)"
75
+ else
76
+ echo "Tag v1.0.0-beta.1 already exists"
77
+ fi
78
+
79
- name: Debug semantic-release config
80
run: |
81
echo "=== .releaserc.json ==="
.releaserc.json
@@ -1,5 +1,6 @@
1
{
2
"branches": [
3
+ "+([0-9])?(.{+([0-9]),x}).x",
4
5
"name": "main",
6
"prerelease": "beta"
0 commit comments