Skip to content

Commit 4cdb205

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
VERSION: 0.0.0
13-
BRANCH: ''
13+
BRANCH: "master"
1414
COMMIT: ''
1515

1616
jobs:
@@ -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::$(echo ${GITHUB_REF/refs\/tags\/v/})"
25+
echo "::set-env name=VERSION::${GITHUB_REF/refs\/tags\//}
2626
echo Version $VERSION - Branch $BRANCH - Commit $COMMIT

0 commit comments

Comments
 (0)