We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca44579 commit a05ceb3Copy full SHA for a05ceb3
1 file changed
.github/workflows/publish.yml
@@ -45,7 +45,7 @@ jobs:
45
id: pre
46
shell: pwsh
47
run: |
48
- if ($env:GITHUB_REF -eq "refs/heads/main") {
+ if ($env:GITHUB_REF -eq "refs/heads/main" -or $env:GITHUB_REF -eq "refs/heads/master") {
49
"type=" >> $env:GITHUB_OUTPUT
50
}
51
elseif ($env:GITHUB_REF -eq "refs/heads/develop") {
@@ -73,9 +73,11 @@ jobs:
73
- name: Build
74
75
76
+ $assemblyVersion = "${{ steps.version.outputs.version }}" -replace '-.*$', ''
77
dotnet build `
78
-c Release `
- -p:Version=${{ steps.version.outputs.version }}
79
+ -p:Version=$assemblyVersion `
80
+ -p:InformationalVersion=${{ steps.version.outputs.version }}
81
82
# -------------------------
83
# Find packable projects
0 commit comments