Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit fc007fa

Browse files
+ module version fix
1 parent e3e3a1e commit fc007fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_shared/.build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ task VersionModule {
104104
# PowerShell does not allow string value in the Version
105105
# It seems to map to .NET Version object, so no -alpha/-beta tags
106106
# $script:Version = "0.1.0-alpha$stamp"
107+
108+
$script:Version = "0.1.$stamp"
107109

108110
if($null -ne $env:APPVEYOR_REPO_BRANCH) {
109111
Write-Build Green " [~] Running under APPVEYOR branch: $($env:APPVEYOR_REPO_BRANCH)"
@@ -119,9 +121,7 @@ task VersionModule {
119121

120122
$script:Version = "0.2.$stamp.$buildNumber"
121123
}
122-
} else {
123-
$script:Version = "0.1.$stamp"
124-
}
124+
}
125125

126126
if($null -ne $buildVersion ) {
127127
Write-Build Yello " [+] Using version from params: $buildVersion"

0 commit comments

Comments
 (0)