File tree Expand file tree Collapse file tree 3 files changed +45
-53
lines changed Expand file tree Collapse file tree 3 files changed +45
-53
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : UpgradeRelease
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : " release/version to update"
8
+ required : true
9
+
10
+ jobs :
11
+
12
+ update :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : checkout
16
+ uses : actions/checkout@v3
17
+ with :
18
+ ref : release_${{ github.event.inputs.version }}
19
+ fetch-depth : 0
20
+ - run : |
21
+ git fetch --force --tags
22
+ - name : Setup go
23
+ uses : actions/setup-go@v3
24
+ with :
25
+ go-version : 1.19
26
+ - name : goreleaser
27
+ uses : goreleaser/goreleaser-action@v4
28
+ with :
29
+ args : release --clean --release-notes release.md -f .goreleaser.update.yaml
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ packages :
34
+ uses : ./.github/workflows/packages.yml
35
+ with :
36
+ version : ${{ github.event.inputs.version }}
37
+
38
+ pull-request :
39
+ uses : ./.github/workflows/pull-request.yml
40
+ with :
41
+ version : ${{ github.event.inputs.version }}
Original file line number Diff line number Diff line change
1
+ builds :
2
+ - skip : true
3
+ release :
4
+ prerelease : false
You can’t perform that action at this time.
0 commit comments