We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57c394a commit 90330b7Copy full SHA for 90330b7
1 file changed
.github/workflows/pipeline.yml
@@ -36,10 +36,11 @@ jobs:
36
id: versioner
37
run: |
38
if($env:GITHUB_EVENT_NAME -like "release") {
39
- #example refs/pull/7/merge
+ #example refs/tags/v2.0.33
40
$parts = $env:GITHUB_REF.Split("/")
41
$version=$parts[2]
42
- # remove the first letter, which is a V
+ # remove the V from the version, .net builder doesn't accept strings
43
+ $version = $version.Replace("v", "")
44
SET $version=%version:~1%
45
}
46
else {
0 commit comments