File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,20 @@ jobs:
19
19
steps :
20
20
- name : checkout
21
21
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
+
22
23
- name : set github-actions identity
23
24
shell : bash
24
25
run : |
25
26
# this pair is magic: https://github.com/actions/checkout/tree/v4.2.2#push-a-commit-using-the-built-in-token
26
27
git config user.name "github-actions[bot]"
27
- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
28
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
29
+
28
30
- name : cook the release entity
29
31
shell : bash
30
32
env :
31
33
GH_TOKEN : ${{ github.token }}
32
34
run : |
35
+ git fetch --tags
33
36
tag_name="${{ inputs.for_tag }}"
34
37
# 'gh release create' doesn't accept anything but branch and sha
35
38
target_sha=$(git rev-parse ${tag_name})
You can’t perform that action at this time.
0 commit comments