Skip to content

Commit fe51dbe

Browse files
authored
fixed version formatting (#31)
1 parent d0f8cdc commit fe51dbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-test-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: |
5757
CLEAN_VERSION="${GITHUB_REF##*/}" # Remove 'refs/tags/'
5858
CLEAN_VERSION="${CLEAN_VERSION#v}" # Remove leading 'v'
59-
NUMERIC_VERSION=$(echo "$CLEAN_VERSION" | sed 's/[^0-9.]*$//') # Strip any suffix for AssemblyVersion
59+
NUMERIC_VERSION=$(echo "$CLEAN_VERSION" | sed 's/[^0-9.].*//') # Strip any suffix for AssemblyVersion
6060
echo "CLEAN_VERSION=$CLEAN_VERSION" >> $GITHUB_ENV
6161
echo "NUMERIC_VERSION=$NUMERIC_VERSION" >> $GITHUB_ENV
6262

0 commit comments

Comments
 (0)