Skip to content

Commit

Permalink
Simplifies arg detection
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 9c3e512 commit 0a70363
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/wheeltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ jobs:
text=$(git log -1 --no-merges --pretty=%B)
# Read the commit message into an array split by "#".
echo $(echo $text|tr -d '\n')
IFS="#" read name commit_args <<< $(echo $text|tr -d '\n')
commit_args=${text#*#}
# Sanity check.
echo "Arguments are:"
echo $name
echo $commit_args
# Add tags and overwrite "checking" variable to true if there are tags.
if [[ "${commit_args}" == *"@"* ]]; then
Expand Down

0 comments on commit 0a70363

Please sign in to comment.