Skip to content

Commit 3d4635f

Browse files
authored
Update nuget-pack-push.yml
1 parent 4cdb205 commit 3d4635f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nuget-pack-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
run: |
2323
echo "::set-env name=BRANCH::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
2424
echo "::set-env name=COMMIT::$GITHUB_SHA"
25-
echo "::set-env name=VERSION::${GITHUB_REF/refs\/tags\//}
25+
echo "::set-env name=VERSION::$(echo ${GITHUB_REF:10})
2626
echo Version $VERSION - Branch $BRANCH - Commit $COMMIT

0 commit comments

Comments
 (0)