We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f799f20 commit 64425f8Copy full SHA for 64425f8
.github/workflows/release.yml
@@ -2,6 +2,12 @@ name: goreleaser
2
3
on:
4
workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ description: 'Version to release'
8
+ required: true
9
+ default: 'v0.0.0'
10
+
11
push:
12
# run only against tags
13
tags:
@@ -24,6 +30,11 @@ jobs:
24
30
with:
25
31
go-version: '>=1.20'
26
32
cache: true
33
34
+ - name: Create tag
35
+ run: git tag ${{ github.event.inputs.version }}
36
+ if: github.event_name == 'workflow_dispatch'
37
27
38
- uses: goreleaser/goreleaser-action@v4
28
39
29
40
distribution: goreleaser
0 commit comments