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 19b6797 commit feb3113Copy full SHA for feb3113
.github/workflows/manual_goreleaser.yml
@@ -0,0 +1,27 @@
1
+name: manual goreleaser
2
+on:
3
+ workflow_dispatch:
4
+jobs:
5
+ manual_goreleaser:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Checkout
9
+ uses: actions/checkout@v3
10
+ with:
11
+ # we have to fetch all history to be able to generate the release note. c.f. https://goreleaser.com/ci/actions/.
12
+ fetch-depth: 0
13
+ - name: Set up Go
14
+ uses: actions/setup-go@v4
15
16
+ go-version-file: 'go.mod'
17
+ - name: Reposition to latest tag
18
+ run: |
19
+ git checkout $(git describe --tags --abbrev=0)
20
+ - name: Run GoReleaser
21
+ uses: goreleaser/goreleaser-action@v4
22
23
+ distribution: goreleaser
24
+ version: latest
25
+ args: release --clean --skip-announce
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments