Skip to content

Commit 4bcdf0f

Browse files
committed
Set version correctly
1 parent 3cc08ca commit 4bcdf0f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ steps:
4242
gitHubConnection: github
4343
tagSource: manual
4444
tag: 'v$(vsix.version)'
45+
title: 'Version $(vsix.version)'
4546
assets: '$(vsix)'

scripts/GetVersion.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[xml]$vsix = Get-Content $PSScriptRoot\..\src\GtmExtension\source.extension.vsixmanifest
2-
$env:VSIX_VERSION = $vsix.PackageManifest.Metadata.Identity.Version
2+
$version = $vsix.PackageManifest.Metadata.Identity.Version
3+
Write-Host "##vso[task.setvariable variable=vsix.version]$version"

0 commit comments

Comments
 (0)