We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e68a55e commit 4cdb205Copy full SHA for 4cdb205
.github/workflows/nuget-pack-push.yml
@@ -10,7 +10,7 @@ on:
10
11
env:
12
VERSION: 0.0.0
13
- BRANCH: ''
+ BRANCH: "master"
14
COMMIT: ''
15
16
jobs:
@@ -22,5 +22,5 @@ jobs:
22
run: |
23
echo "::set-env name=BRANCH::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
24
echo "::set-env name=COMMIT::$GITHUB_SHA"
25
- echo "::set-env name=VERSION::$(echo ${GITHUB_REF/refs\/tags\/v/})"
+ echo "::set-env name=VERSION::${GITHUB_REF/refs\/tags\//}
26
echo Version $VERSION - Branch $BRANCH - Commit $COMMIT
0 commit comments