File tree 1 file changed +15
-1
lines changed
.github/actions/bump-and-notes
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 5
5
description : " The module to be released"
6
6
required : true
7
7
8
+ outputs :
9
+ new-version :
10
+ description : " The new version of the module"
11
+ value : ${{ steps.bump-version.outputs.new-version }}
12
+
8
13
runs :
9
14
using : composite
10
15
steps :
16
+ - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
17
+ with :
18
+ go-version : 1.21.x
19
+ cache-dependency-path : |
20
+ internal/release/go.sum
21
+ internal/release/go.mod
22
+
11
23
- name : bump module version
12
24
env :
13
25
MODULE : ${{ inputs.module }}
32
44
NEW_VERSION : ${{ steps.bump-version.outputs.new-version }}
33
45
MODULE : ${{ inputs.module }}
34
46
run : |
35
- git cliff --config cliff.toml --unreleased --tag "$TAG" --include-path "$MODULE/**" | tee notes.md
47
+ git cliff --config cliff.toml --unreleased --tag "$NEW_VERSION" --include-path "$MODULE/**" | tee notes.md
48
+ echo "## $NEW_VERSION" >> "$GITHUB_STEP_SUMMARY"
49
+ cat notes.md >> "$GITHUB_STEP_SUMMARY"
36
50
shell : bash
37
51
38
52
- name : upload release notes
You can’t perform that action at this time.
0 commit comments