Skip to content

Instantly share code, notes, and snippets.

View gusztavvargadr's full-sized avatar

Gusztáv Varga gusztavvargadr

View GitHub Profile
[assembly: AssemblyVersion("#major.#minor")]
[assembly: AssemblyFileVersion("#major.#minor.#revision.#build")]
[assembly: AssemblyInformationalVersion("#major.#minor.#revision[-prerelease]")]
Branch Release type Version format
feature alpha #major.#minor.#revision-a#build#feature
develop beta #major.#minor.#revision-b#build
release release candidate #major.#minor.#revision-r#build
hotfix release candidate #major.#minor.#revision-r#build
master stable #major.#minor.#revision
Task Branch CI build number NuGet package version
Implement feature #1 feature-1 1 1.2.0-a1feature1
Implement feature #2 feature-2 2 1.2.0-a2feature2
Implement feature #1 feature-1 3 1.2.0-a3feature1
Complete feature #1 develop 4 1.2.0-b4
Complete feature #2 develop 5 1.2.0-b5
Stabilize release release-1.2.0 6 1.2.0-r6
Release to production master 7 1.2.0
Fix production issue hotfix-1.2.1 8 1.2.1-r8
Release type Allowed environments
alpha D
beta T, D
release candidate A, T, D
stable P, A, T, D
Task Branch CI build number NuGet package version
Implement feature #1 feature-1 1 1.2.0-a1feature1
Implement feature #2 feature-2 2 1.2.0-a2feature2
Implement feature #1 feature-1 3 1.2.0-a3feature1
Complete feature #1 develop 4 1.2.0-b4
Complete feature #2 develop 5 1.2.0-b5
Stabilize release release-1.2.0 6 1.2.0-r6
Release to production master 7 1.2.0
Fix production issue hotfix-1.2.1 8 1.2.1-r8
{
"Major":2,
"Minor":4,
"Patch":"0",
"PreReleaseTag":"b.4",
"PreReleaseTagWithDash":"-b.4",
"BuildMetaData":"",
"BuildMetaDataPadded":"",
"FullBuildMetaData":"Branch.develop.Sha.729510dc22672fc5850281901696ead45856a27e",
"MajorMinorPatch":"2.4.0",
assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDelivery
tag-prefix: '[vV]'
continuous-delivery-fallback-tag: ci
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
legacy-semver-padding: 4
build-metadata-padding: 4
commit-message-incrementing: Enabled
assembly-informational-format: '{NuGetVersion}'
mode: ContinuousDeployment
branches:
master:
tag: s
releases?[/-]:
tag: rc
features?[/-]:
tag: useBranchName
increment: Minor
assembly-versioning-scheme: MajorMinorPatch
assembly-informational-format: '{NuGetVersion}'
mode: ContinuousDeployment
tag-prefix: '[vV]'
continuous-delivery-fallback-tag: ci
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
legacy-semver-padding: 4
build-metadata-padding: 4
cache:
- packages -> **\packages.config
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
- choco install gitversion.portable -y
configuration: Release