We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f4a649 commit fa53ea1Copy full SHA for fa53ea1
.github/workflows/release.yml
@@ -1,8 +1,14 @@
1
name: Release
2
+
3
on:
4
push:
5
tags:
6
- 'v*'
7
+ workflow_dispatch:
8
+ inputs:
9
+ tag:
10
+ description: "Tag to release (e.g. v1.0.0-test)"
11
+ required: true
12
13
permissions:
14
contents: write
@@ -15,6 +21,12 @@ jobs:
15
21
steps:
16
22
- uses: actions/checkout@v4
17
23
24
+ - name: Create local tag (manual run only)
25
+ if: github.event_name == 'workflow_dispatch'
26
+ run: |
27
+ git tag ${{ inputs.tag }}
28
+ git push origin ${{ inputs.tag }}
29
18
30
- uses: actions/setup-node@v4
19
31
with:
20
32
node-version: 22
0 commit comments