Skip to content

Commit

Permalink
Revert to using IFS
Browse files Browse the repository at this point in the history
Testing # @does @it @work?
  • Loading branch information
holm10 committed Jan 10, 2025
1 parent e7c1693 commit 5d77a50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/wheeltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ jobs:
text=$(git log -1 --no-merges --pretty=%B)
# Read the commit message into an array split by "#".
echo $(echo $text|tr -d '\n')
echo $(awk -F'#' '{ for(i=1;i<=NF;i++) print $i }' <<< $(echo $text|tr -d '\n'))
echo $(awk 'NR==2' <<< $(awk -F'#' '{ for(i=1;i<=NF;i++) print $i }' <<< $(echo $text|tr -d '\n')))
declare commit_args=$(awk 'NR==2' <<< $(awk -F'#' '{ for(i=1;i<=NF;i++) print $i }' <<< $(echo $text|tr -d '\n')))
IFS="#" read name commit_args <<< $(echo $text|tr -d '\n')
# Sanity check.
echo "the tags are: ${commit_args}"
# Add tags and overwrite "checking" variable to true if there are tags.
Expand Down

0 comments on commit 5d77a50

Please sign in to comment.