Propeltsi.VAFVersionUpdate
1.0.7
dotnet add package Propeltsi.VAFVersionUpdate --version 1.0.7
NuGet\Install-Package Propeltsi.VAFVersionUpdate -Version 1.0.7
<PackageReference Include="Propeltsi.VAFVersionUpdate" Version="1.0.7" />
paket add Propeltsi.VAFVersionUpdate --version 1.0.7
#r "nuget: Propeltsi.VAFVersionUpdate, 1.0.7"
// Install Propeltsi.VAFVersionUpdate as a Cake Addin #addin nuget:?package=Propeltsi.VAFVersionUpdate&version=1.0.7 // Install Propeltsi.VAFVersionUpdate as a Cake Tool #tool nuget:?package=Propeltsi.VAFVersionUpdate&version=1.0.7
VAFVersionUpdate
Package adds powershell scripts for each use-case when updating VAF application version number and README.txt to your project root.
increment-appdef-revision.ps1
increment-appdef-minor.ps1
increment-appdef-build.ps1
increment-appdef-major.ps1
-scripts read and increment matching appdef.xml
<Version>
update-appdef-from-assemblyinfo.ps
-script reads Vault Applications /Properties/AssemblyInfo.cs
<AssemblyVersion>
-value and replaces <Version>
-value in appdef.xml.
Setup
Depending on how and what version you want to update add:
powershell -ExecutionPolicy Unrestricted $(ProjectDir)update-appdef-from-assemblyinfo.ps1
powershell -ExecutionPolicy Unrestricted $(ProjectDir)increment-appdef-revision.ps1
powershell -ExecutionPolicy Unrestricted $(ProjectDir)increment-appdef-minor.ps1
powershell -ExecutionPolicy Unrestricted $(ProjectDir)increment-appdef-build.ps1
powershell -ExecutionPolicy Unrestricted $(ProjectDir)increment-appdef-major.ps1
To project pre-build event command line
Use
Build your VAF normally and version number will either follow AssemblyVersion or just increment appdef.xml Version
Remarks
Use Automatic Version 2 -extension or similar to increment your projects AssemblyVersion as you like.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release