CIVersionPropsWriter 0.1.0-rc15
This is a prerelease version of CIVersionPropsWriter.
dotnet add package CIVersionPropsWriter --version 0.1.0-rc15
NuGet\Install-Package CIVersionPropsWriter -Version 0.1.0-rc15
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CIVersionPropsWriter" Version="0.1.0-rc15" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CIVersionPropsWriter --version 0.1.0-rc15
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CIVersionPropsWriter, 0.1.0-rc15"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CIVersionPropsWriter as a Cake Addin #addin nuget:?package=CIVersionPropsWriter&version=0.1.0-rc15&prerelease // Install CIVersionPropsWriter as a Cake Tool #tool nuget:?package=CIVersionPropsWriter&version=0.1.0-rc15&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CIVersionPropsWriter
Utility for generating Microsoft.NET.Sdk project version properties.
Versioning:
- Dev Branch ⇒ 0.1.0-alpha2
- Master Branch ⇒ 0.1.0-rc3
- Release tag (v0.1.0) ⇒ 0.1.0
Support
- Appveyor
- CircleCI
- Github Actions
Usage
In your repository
Directory.Build.props
:
<Project>
<Import Project="VersionInfo.props" />
</Project>
VersionInfo.props
:
<Project>
<PropertyGroup>
<Version>0.0.0-dev</Version>
</PropertyGroup>
</Project>
In your CI build
Setup environment variable:
ASSEMBLY_FILE_VERSION: "0.1.0"
Overwrite VersionInfo.props
CIVersionPropsWriter.exe --output VersionInfo.props
Sample Output
<Project>
<PropertyGroup>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix>alpha13</VersionSuffix>
<Version>0.1.0-alpha13</Version>
<AssemblyVersion>0.1.0.0</AssemblyVersion>
<FileVersion>0.1.0.13</FileVersion>
<InformationalVersion>0.1.0-alpha13+e3081f392c6af1b5f6c842afa8972c0e27bdb6ef</InformationalVersion>
<RepositoryBranch>feature/xyz/RepositoryBranch>
<RepositoryCommit>e3081f392c6af1b5f6c842afa8972c0e27bdb6ef</RepositoryCommit>
</PropertyGroup>
</Project>
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has 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.
Version | Downloads | Last updated |
---|---|---|
0.1.0-rc15 | 343 | 7/18/2020 |