File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,14 +88,14 @@ jobs:
8888 - name : Get tag information
8989 id : tag_info
9090 run : |
91- TAG_MESSAGE=$(git for-each-ref refs/tags/${{ github.ref_name }} --format='%(contents)' | sed -e :a -e '/^\n*$/{$d;N;ba' -e '}' | sed -e '/./,$!d')
92- if [ -n "$TAG_MESSAGE" ]; then
93- echo "tag_message<<EOF" >> $GITHUB_OUTPUT
94- echo "$TAG_MESSAGE" >> $GITHUB_OUTPUT
95- echo "EOF" >> $GITHUB_OUTPUT
96- else
97- echo "tag_message=No description provided for this tag." >> $GITHUB_OUTPUT
91+ TAG_MESSAGE=$(git tag -l --format='%(contents)' "${GITHUB_REF#refs/tags/}")
92+ if [ -z "$TAG_MESSAGE" ]; then
93+ TAG_MESSAGE="No description provided for this tag."
9894 fi
95+ echo "tag_message<<EOF" >> $GITHUB_OUTPUT
96+ echo "$TAG_MESSAGE" >> $GITHUB_OUTPUT
97+ echo "EOF" >> $GITHUB_OUTPUT
98+ echo "TAG_MESSAGE: $TAG_MESSAGE"
9999 - name : Download all artifacts
100100 uses : actions/download-artifact@v4
101101 with :
Original file line number Diff line number Diff line change 11{
22 "name" : " algo-bootstrap" ,
33 "productName" : " Algo Bootstrap" ,
4- "version" : " 1.0.0-alpha.5 " ,
4+ "version" : " 1.0.0-alpha.6 " ,
55 "description" : " A Bootstrap for algorithm beginners" ,
66 "main" : " ./dist/main/main.js" ,
77 "author" : {
You can’t perform that action at this time.
0 commit comments