Update release workflow
This commit is contained in:
parent
8c8d0ce64e
commit
3c36aaaf8f
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -17,7 +17,8 @@ jobs:
|
|||
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
|
||||
git branch --remote --contains | grep origin/v3
|
||||
- name: Set VERSION variable from tag
|
||||
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
|
||||
#run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
|
||||
run: echo "VERSION=3.0.0.test3" >> $GITHUB_ENV
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release /p:Version=${VERSION}
|
||||
- name: Test
|
||||
|
|
|
|||
Loading…
Reference in a new issue