Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,16 @@ jobs:
- name: Install dotnet-gitversion
run: |
echo ":/github/home/.dotnet/tools" >> $GITHUB_PATH
dotnet tool install -g GitVersion.Tool --version "6.0.5" --ignore-failed-sources
dotnet tool install -g GitVersion.Tool --version "6.5.0" --ignore-failed-sources
shell: bash
- name: Resolve Version
id: resolve-version
shell: pwsh
working-directory: ./
run: |
$rawVersion = dotnet-gitversion | ConvertFrom-Json
run: |
$dotnetVersionOutput = dotnet-gitversion
Write-Output $dotnetVersionOutput
$rawVersion = $dotnetVersionOutput | ConvertFrom-Json
Write-Output $rawVersion
$semVer = $rawVersion.SemVer
Write-Output "Resolved version $semVer"
Expand Down
6 changes: 2 additions & 4 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
build-metadata-padding: 4
mode: ContinuousDeployment
branches:
main:
tag: beta
label: beta
pull-request:
tag: alpha
label: alpha{Number}