File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -59,4 +59,4 @@ options:
59
59
notes :
60
60
keywords :
61
61
- BREAKING CHANGE
62
- - 💥
62
+ - 💥
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
release :
18
- runs-on : ubuntu-20 .04
18
+ runs-on : ubuntu-24 .04
19
19
if : startsWith(github.ref, 'refs/tags/')
20
20
container :
21
- image : golang:1.19
21
+ image : golang:1.23
22
22
steps :
23
23
- name : Check out a copy of the repo
24
24
uses : actions/checkout@v3
37
37
- id : get_version
38
38
uses : battila7/get-version-action@v2
39
39
40
- - name : set vars to github
41
- run : |
42
- echo "APP_TAG=${{ steps.get_version.outputs.version-without-v }}" >> $GITHUB_ENV
43
-
44
40
- name : Generate changelog
45
- run : task changelog:tag --yes
41
+ run : task changelog:tag --APP_TAG=${{ steps.get_version.outputs.version-without-v }} -- yes
46
42
47
43
- name : Create Release
48
44
if : ${{ !env.ACT }}
51
47
env :
52
48
GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
53
49
with :
54
- tag_name : ${{ env.APP_TAG }}
55
- release_name : ${{ env.APP_TAG }}
50
+ tag_name : ${{ steps.get_version.outputs.version-without-v }}
51
+ release_name : ${{ steps.get_version.outputs.version-without-v }}
56
52
draft : false
57
53
prerelease : false
58
54
body_path : ${{ env.TMP_CHANGELOG_FILENAME }}
You can’t perform that action at this time.
0 commit comments