mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
35 lines
896 B
Bash
35 lines
896 B
Bash
#!/usr/bin/env bash
|
|
#%%MULTILINE_YAML_START
|
|
#Check for configuration
|
|
echo "mode: ContinuousDeployment
|
|
continuous-delivery-fallback-tag: ''
|
|
branches:
|
|
master:
|
|
mode: ContinuousDeployment
|
|
tag: 'dev'
|
|
increment: Minor
|
|
track-merge-target: true
|
|
tracks-release-branches: true
|
|
is-release-branch: false
|
|
prevent-increment-of-merged-branch-version: false
|
|
release:
|
|
regex: release?[/]
|
|
mode: ContinuousDeployment
|
|
increment: Minor
|
|
tag: ''
|
|
is-release-branch: true
|
|
prevent-increment-of-merged-branch-version: true
|
|
feature:
|
|
regex: feature?[/]
|
|
mode: ContinuousDeployment
|
|
increment: Inherit
|
|
tag: 'alpha'
|
|
is-release-branch: false
|
|
prevent-increment-of-merged-branch-version: true
|
|
ignore:
|
|
sha: []
|
|
" > GitVersion.yml
|
|
|
|
version=$(/tools/dotnet-gitversion /showvariable NuGetVersionV2)
|
|
echo "VERSION=$version" >> version.env
|
|
cat version.env
|