Update release workflow

This commit is contained in:
Sipke Schoorstra 2022-11-09 15:58:22 +01:00
parent 8c8d0ce64e
commit 3c36aaaf8f

View file

@ -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