File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,11 @@ jobs:
17
17
with :
18
18
fetch-depth : 0
19
19
- name : Set up Go
20
- uses : actions/setup-go@v3
20
+ uses : actions/setup-go@v5
21
21
- name : Bump version and push tag
22
- shell : bash
23
- run : |
24
- git config --global user.email "[email protected] "
25
- git config --global user.name "Github Actions"
26
- go install github.com/caarlos0/svu@latest
27
- OLD_TAG=$(svu current --strip-prefix)
28
- NEW_TAG=$(svu next --strip-prefix)
29
- [ "$OLD_TAG" == "$NEW_TAG" ] && echo "no version bump" && exit 0
30
- git commit -m "bump release version" --allow-empty
31
- git tag v$NEW_TAG
32
- git tag $NEW_TAG
33
- git push
34
- git push --tags
22
+ uses :
charlesthomas/[email protected] +2.2.0
23
+ with :
24
+ pushTag : true
35
25
- name : Run GoReleaser
36
26
uses : goreleaser/goreleaser-action@v4
37
27
with :
You can’t perform that action at this time.
0 commit comments