From 0a703636969f9f0d56c9ce0d957d6c128f326d07 Mon Sep 17 00:00:00 2001 From: Andreas Holm <60451789+holm10@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:41:42 -0800 Subject: [PATCH] Simplifies arg detection Testing # @does @it @work? --- .github/workflows/wheeltest.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/wheeltest.yml b/.github/workflows/wheeltest.yml index 97b07202..5701b8ce 100644 --- a/.github/workflows/wheeltest.yml +++ b/.github/workflows/wheeltest.yml @@ -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