Skip to content

Commit

Permalink
fixup! fixup! Remove http connection
Browse files Browse the repository at this point in the history
  • Loading branch information
serialseb committed Mar 3, 2017
1 parent bc6a3d5 commit 9441a39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/funcs/Set-Version.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$version = [version]$(cat VERSION)
$baseVersion = $version
$baseVersion = $version.ToString()
$build = $env:APPVEYOR_BUILD_NUMBER | % PadLeft 4 '0'
$major = $version.Major
$branch = $env:APPVEYOR_REPO_BRANCH

if ($env:APPVEYOR_REPO_TAG) {
if ($env:APPVEYOR_REPO_TAG -eq $true) {
$version = $env:APPVEYOR_REPO_TAG_NAME
$buildVersionPrefix = $version
} else {
Expand All @@ -23,7 +23,7 @@ if ($env:APPVEYOR_REPO_TAG) {
}

$env:SEB_VERSION_PREFIX = $buildVersionPrefix
Write-Host "Version '$version', base '$baseVersion', prefix $env:SEB_VERSION_PREFIX"
Write-Host "Version '$version', base '$baseVersion', prefix '$env:SEB_VERSION_PREFIX"

Set-AppveyorBuildVariable -Name "AssemblyMajor" -Value "$major"
Update-AppVeyorBuild -Version "$version"
Expand Down

0 comments on commit 9441a39

Please sign in to comment.