File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ jobs:
2222 pat='\[[0-9]*\.[0-9]*\.[0-9]*\] - [0-9\-]*'
2323 print=false
2424 cat CHANGELOG.md | while read -r line; do
25- if [[ $line =~ $pat ]] && [[ $print == false ]]; then
26- echo $line
25+ if [[ " $line" =~ $pat ]] && [[ " $print" == false ]]; then
26+ echo " $line"
2727 print=true
28- elif [[ $line =~ $pat ]] && [[ $print == true ]]; then
28+ elif [[ " $line" =~ $pat ]] && [[ " $print" == true ]]; then
2929 break
30- elif [[ $print == true ]]; then
31- echo $line
30+ elif [[ " $print" == true ]]; then
31+ echo " $line"
3232 fi
3333 done > ./.tagmsg.txt
3434 _tagname=$( grep -m 1 "[0-9]*\.[0-9]*\.[0-9]*" CHANGELOG.md | sed -e "s/^.*\[\([0-9]*\.[0-9]*\.[0-9]*\)\].*/\1/" )
5555 body_path : ./.tagmsg.txt
5656 draft : false
5757 prerelease : false
58+ - name : Publish role to Galaxy
59+ uses : robertdebock/galaxy-action@1.2.0
60+ with :
61+ galaxy_api_key : ${{ secrets.galaxy_api_key }}
You can’t perform that action at this time.
0 commit comments