File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5252
5353 - name : Extract branch name
5454 id : extract_branch
55- run : echo "branch_name =${GITHUB_REF#refs/heads /}" >> $GITHUB_OUTPUT
55+ run : echo "tag_name =${GITHUB_REF#refs/tags /}" >> $GITHUB_OUTPUT
5656
5757 - name : Build project
5858 id : make_dist
6161 cd dist
6262 ARCHIVE=$(echo *.tar.gz)
6363 tar -xzf ${ARCHIVE}
64- NEW_ARCHIVE_DIR="nimbus-eth1-${{ matrix.os }}-${{ matrix.cpu }}-${{ steps.extract_branch.outputs.branch_name }}-$(git rev-parse --short=8 HEAD)"
64+ NEW_ARCHIVE_DIR="nimbus-eth1-${{ matrix.os }}-${{ matrix.cpu }}-${{ steps.extract_branch.outputs.tag_name }}-$(git rev-parse --short=8 HEAD)"
6565 mv ${ARCHIVE%.tar.gz} ${NEW_ARCHIVE_DIR}
6666 tar -czf ${NEW_ARCHIVE_DIR}.tar.gz ${NEW_ARCHIVE_DIR}
6767 cp ${NEW_ARCHIVE_DIR}.tar.gz nimbus-eth1-${{ matrix.os }}-${{ matrix.cpu }}.tar.gz
@@ -116,7 +116,7 @@ jobs:
116116
117117 - name : Extract branch name
118118 id : extract_branch
119- run : echo "branch_name =${GITHUB_REF#refs/heads /}" >> $GITHUB_OUTPUT
119+ run : echo "tag_name =${GITHUB_REF#refs/tags /}" >> $GITHUB_OUTPUT
120120
121121 - name : Create release notes
122122 run : |
@@ -145,7 +145,7 @@ jobs:
145145 with :
146146 draft : true
147147 prerelease : false
148- name : ' Release build ("${{ steps.extract_branch.outputs.branch_name }}" branch )'
148+ name : ' Release build ("${{ steps.extract_branch.outputs.tag_name }}")'
149149 body_path : release_notes.md
150150 files : |
151151 linux-amd64-archive/*
You can’t perform that action at this time.
0 commit comments