-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify build to include version in VSIX name (#1104)
* Modify build to include version in VSIX name Previously this was done separately in PowerShell in the build pipline. However, the version properties are available during the build so we can create a VSIX with the expected name here - no need to rename later.
- Loading branch information
duncanp-sonar
authored
Nov 20, 2019
1 parent
9a7b939
commit 635e010
Showing
3 changed files
with
23 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- Manually set the three-part main version and check in the changed file. | ||
The other build properties (e.g. Sha1) will be set by the CI build when | ||
The other required build properties (e.g. Sha1) will be set by the CI build when | ||
it builds ChangeVersion.proj. --> | ||
<MainVersion>4.14.0</MainVersion> | ||
|
||
<!-- Properties set by the CI build pipeline --> | ||
<!-- Properties set by the CI build pipeline --> | ||
<BuildNumber>0</BuildNumber> | ||
<Sha1>not-set</Sha1> | ||
<BranchName>not-set</BranchName> | ||
<BuildConfiguration>not-set</BuildConfiguration> | ||
|
||
<!-- Calculated properties --> | ||
<FullVersion>$(MainVersion).$(BuildNumber)</FullVersion> | ||
<AssemblyVersion>$(MainVersion)</AssemblyVersion> | ||
<AssemblyFileVersion>$(FullVersion)</AssemblyFileVersion> | ||
<AssemblyInformationalVersion>Version:$(FullVersion) Branch:$(BranchName) Sha1:$(Sha1) Configuration:$(BuildConfiguration)</AssemblyInformationalVersion> | ||
<VsixVersion>$(FullVersion)</VsixVersion> | ||
<VsixVersion>$(FullVersion)</VsixVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters