We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e9f142 commit 3adc765Copy full SHA for 3adc765
1 file changed
.github/workflows/dotnet_build_release.yml
@@ -7,7 +7,7 @@ on:
7
8
env:
9
VERSION: ${{ github.ref_name }}
10
- VERSION_NUMBER: ${{ github.ref_name != null && startsWith(github.ref_name, 'v') && github.ref_name[1:] || github.ref_name }}
+ VERSION_NUMBER: ${{ github.ref_name && github.ref_name.startsWith('v') && replace(github.ref_name, 'v', '') || github.ref_name }}
11
12
13
jobs:
0 commit comments