Skip to content

Commit e474da1

Browse files
author
ladeak
committed
Version tag on linux process correctly in CD
1 parent 0018a86 commit e474da1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/CD.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ jobs:
107107
with:
108108
dotnet-version: ${{ env.DOTNET_VERSION }}
109109
- name: Set VERSION variable from tag
110-
run: |
111-
$ver="${{GITHUB.REF_NAME}}" -replace 'v', ''
112-
echo "VERSION=${ver}" >> $env:GITHUB_ENV
110+
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
113111
- name: Build VSCodeExtension dependencies
114112
run: |
115113
dotnet publish src/CHttpExtension -r linux-arm64 -f net9.0 # .NET 9

0 commit comments

Comments
 (0)