Skip to content

Commit 3e902d3

Browse files
author
Petr Sramek
committed
dsfe
1 parent 51113cb commit 3e902d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
name: Version with GitVersion ${{ vars.GIT_VERSION }}
1414
runs-on: ubuntu-latest
1515
outputs:
16-
ASSEMBLY_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
17-
ASSEMBLY_INFORMATIONAL_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}+${{ steps.gitversion.outputs.sha }}
18-
FILE_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}
19-
PACKAGE_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}.${{ github.run_number }}${{ steps.gitversion.outputs.PreReleaseLabelWithDash }}
16+
ASSEMBLY_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}+${{ github.run_number }}
17+
ASSEMBLY_INFORMATIONAL_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}+${{ github.run_number }}.${{ steps.gitversion.outputs.sha }}
18+
FILE_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}+${{ github.run_number }}
19+
PACKAGE_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}+${{ github.run_number }}
2020
steps:
2121
- uses: actions/checkout@v3
2222
with:

.gitversion/version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ branches:
7474
pull-request:
7575
regex: ^(pull|pull\-requests|pr)[/-]
7676
mode: ContinuousDelivery
77-
tag: {BranchName}
77+
tag: pr-
7878
increment: Inherit
7979
prevent-increment-of-merged-branch-version: false
8080
tag-number-pattern: '[/-](?<number>\d+)[-/]'

0 commit comments

Comments
 (0)