File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 Write-Host "Building SMAPI $env:VERSION."
8888 ./build/scripts/prepare-install-package.ps1 "$env:VERSION"
8989
90- - name : Rename build zip
91- run : mv "bin/SMAPI ${{env.VERSION}} installer.zip" "bin/SMAPI-${{env.VERSION}}-installer.zip"
92-
9390 - name : Upload installer
9491 uses : actions/upload-artifact@v4
9592 with :
@@ -101,10 +98,10 @@ jobs:
10198 uses : ncipollo/release-action@v1
10299 if : github.ref_type == 'tag'
103100 with :
104- artifacts : ' bin/SMAPI-${{env.VERSION}}* .zip'
101+ artifacts : ' bin/SMAPI-${{env.VERSION}}-installer .zip'
105102 token : ' ${{secrets.GITHUB_TOKEN}}'
106103 tag : ' ${{github.ref_name}}'
107- name : " ${{env.VERSION}}"
104+ name : ' ${{env.VERSION}}'
108105 body : |
109106 Draft.
110107 draft : true
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ foreach ($folder in $folders) {
283283# ##########
284284Move-Item " $packagePath " " bin/SMAPI $version installer"
285285
286- Compress-Archive - Path " bin/SMAPI $version installer" - DestinationPath " bin/SMAPI $version installer.zip" - CompressionLevel Optimal
286+ Compress-Archive - Path " bin/SMAPI $version installer" - DestinationPath " bin/SMAPI- $version - installer.zip" - CompressionLevel Optimal
287287
288288Write-Output " "
289289Write-Output " Done! Package created in ${pwd.Path} /bin."
You can’t perform that action at this time.
0 commit comments