Skip to content

Commit aaa13d2

Browse files
committed
update manifest publishing logic
normalize package manifest self-closing tags
1 parent e677d8d commit aaa13d2

3 files changed

Lines changed: 91 additions & 73 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ jobs:
9292
"version=$match" >> $env:GITHUB_OUTPUT
9393
9494
- name: Update package manifest
95-
run: .\scripts\update-manifest.ps1 -Version "${{ steps.get-tag-version.outputs.version }}"
95+
run: |
96+
if ('${{ github.ref_type }}' -eq 'tag') {
97+
.\scripts\update-manifest.ps1 -Version "${{ steps.get-tag-version.outputs.version }}"
98+
} else {
99+
.\scripts\update-manifest.ps1
100+
}
96101
97102
- name: Build app package
98103
env:

0 commit comments

Comments
 (0)