Skip to content

Commit 4b40d77

Browse files
authored
Fix typo
1 parent 8ab1afe commit 4b40d77

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/GitFlow_Nightly-builds.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646
Write-Host $MERGED_PRS
4747
echo "BUILD_NEEDED=true" >> $env:GITHUB_OUTPUT
4848
49-
# If latest tag is already a pre-release, create another pre-release
50-
# Otherwise create a pre-minor release
49+
# Determine release type
5150
if ($LATEST_TAG -like "*-*") {
52-
echo "RELEASE_TYPE=prerelease" >> $env:GITHUB_OUTPUT
51+
$RELEASE_TYPE = "prerelease"
5352
}
5453
else {
55-
echo "RELEASE_TYPE=preminor" >> $env:GITHUB_OUTPUT
54+
$RELEASE_TYPE = "preminor"
5655
}
57-
Write-Host "Next release: $($LATEST_TAG -like "*-*" ? "prerelease" : "preminor")"
56+
echo "RELEASE_TYPE=$RELEASE_TYPE" >> $env:GITHUB_OUTPUT
57+
Write-Host "Next release: $RELEASE_TYPE"
5858
} else {
5959
# If no merged PRs, skip building
6060
Write-Host "No PRs merged to develop since latest tag. Skipping build."
@@ -123,7 +123,7 @@ jobs:
123123
# Build MSI package with version information
124124
echo "### Create WAU MSI ###"
125125
cd .\Sources\Wix\
126-
wix build -src build.wxs -ext WixToolset.Util.wixext -ext WixToolset.UI.wixext -out ..\..\WAU.msi -arch x64 -d Version=${{ steps.format_version.outputs.MsiVersion }} -d NextSemVer=${{ steps.format_version.outputs.NextSemVer }} -d Comment="${{ steps.format_version.outputs.ReleaseName }}" -d PreRelease=1
126+
wix build -src build.wxs -ext WixToolset.Util.wixext -ext WixToolset.UI.wixext -out ..\..\WAU.msi -arch x64 -d Version=${{ steps.format_version.outputs.MsiVersion }} -d NextSemVer=${{ steps.format_version.outputs.NextSemVer }}
127127
cd ..\..
128128
Get-Item .\WAU.msi
129129
@@ -166,7 +166,7 @@ jobs:
166166
## Files
167167
|Files|Hash (SHA256)|Downloads|
168168
|---|---|---|
169-
|[WAU.msi](https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v${{ steps.format_version.outputs.NextSemVer }}/WAU.msi) (x64)|`${{ steps.build_project.outputs.msi_sha }}`|<picture>![WAU.msi](https://img.shields.io/github/downloads/Romanitho/Winget-AutoUpdate/v${{ steps.format_version.outputs.NextSemVer }}/WAU.msi?style=flat-square&label=&color=blue)</picture>|
170-
|[WAU_ADMX.zip](https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v${{ steps.format_version.outputs.NextSemVer }}/WAU_ADMX.zip)|`${{ steps.build_project.outputs.admx_sha }}`|<picture>![WAU_ADMX.zip](https://img.shields.io/github/downloads/Romanitho/Winget-AutoUpdate/v${{ steps.format_version.outputs.NextSemVer }}/WAU_ADMX.zip?style=flat-square&label=&color=blue)</picture>|
169+
|[WAU.msi](https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v${{ steps.format_version.outputs.NextSemVer }}/WAU.msi) (x64)|`${{ steps.build_project.outputs.msi_sha }}`|
170+
|[WAU_ADMX.zip](https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v${{ steps.format_version.outputs.NextSemVer }}/WAU_ADMX.zip)|`${{ steps.build_project.outputs.admx_sha }}`|
171171
172-
<picture>![Install counter](https://img.shields.io/github/downloads/Romanitho/Winget-AutoUpdate/v${{ steps.format_version.outputs.NextSemVer }}/WAU_InstallCounter?style=flat-square&label=Total%20reported%20installations%20for%20this%20release&color=blue)</picture>
172+
<picture>![Install counter](https://img.shields.io/github/downloads/Romanitho/Winget-AutoUpdate/v${{ steps.format_version.outputs.NextSemVer }}/WAU_InstallCounter?style=flat-square&label=Downloads)</picture>

0 commit comments

Comments
 (0)