fixed release workflow (#45)

This commit is contained in:
Zero Fanker 2024-06-20 23:48:43 -04:00 committed by GitHub
parent 15893b36d9
commit 364a6376d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,7 @@ env:
IS_PRERELEASE: false
jobs:
compile-check:
build-and-release:
runs-on: windows-2022
env:
CONFIGURATION: FinalAlertRelease YR
@ -37,7 +37,7 @@ jobs:
run: |
versionNum=${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}.${{ github.run_number }}
pkgName=RN-Mission-Editor-v$versionNum.zip
.\scripts\update_product_version.ps1 -major ${{ env.VERSION_MAJOR }} -minor ${{ env.VERSION_MINOR }} -revision ${{ github.run_number }}
./scripts/update_product_version.ps1 -major ${{ env.VERSION_MAJOR }} -minor ${{ env.VERSION_MINOR }} -revision ${{ github.run_number }}
echo "RELEASE_VER=$versionNum" >> $GITHUB_ENV
echo "PACKAGE_NAME=$pkgName" >> $GITHUB_ENV
- name: build-msvc

View file

@ -1,3 +1,4 @@
#!/usr/bin/env pwsh
[CmdletBinding()]
param(
[Parameter(Mandatory=$false, ParameterSetName='Version')]