Skip to content
Permalink
Browse files
fix CI version detection
  • Loading branch information
namazso committed Jan 31, 2021
1 parent fe8b499 commit ed8fb819d364728e34e9e865c4e0b6ce995341c3
Showing with 3 additions and 3 deletions.
  1. +3 −3 .github/workflows/ci.yml
@@ -24,14 +24,14 @@ jobs:
If($Env:GITHUB_REF -match "v([0-9]*)\.([0-9]*)\.([0-9]*)") {
$IsRelease = "yes";
$Version = $Matches[0];
$VersionMinor = $Matches[1];
$VersionMajor = $Matches[2];
$VersionMajor = $Matches[1];
$VersionMinor = $Matches[2];
$VersionPatch = $Matches[3];
} Else {
$IsRelease = "no";
$Version = $Env:GITHUB_SHA;
$VersionMinor = 0;
$VersionMajor = 0;
$VersionMinor = 0;
$VersionPatch = 0;
}
Echo ("::set-output name=is_release::" + $IsRelease);

0 comments on commit ed8fb81

Please sign in to comment.