Skip to content

Commit

Permalink
Finalize everything for a release (ParadoxGameConverters#1698)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur authored Apr 28, 2024
1 parent 86402a4 commit af476a2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/windows_build_test_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ jobs:
- name: "Prepare release"
run: |
cd "C:\Program Files\7-Zip\"
.\7z.exe a $Env:GITHUB_WORKSPACE\Vic2ToHoI4-1.1Spruance-win-x64.zip $Env:GITHUB_WORKSPACE\build\Release\*
.\7z.exe a $Env:GITHUB_WORKSPACE\Vic2ToHoI4-1.2Tito-win-x64.zip $Env:GITHUB_WORKSPACE\build\Release\*
- name: "Prepare installer"
run: |
c:\"Program Files (x86)\Inno Setup 6\iscc" Vic2ToHoI4-Installer.iss
cp $Env:GITHUB_WORKSPACE\Output\Vic2ToHoI4-latest-win-x64.exe $Env:GITHUB_WORKSPACE\Output\Vic2ToHoI4-1.1Spruance-win-x64.exe
# - name: "Upload binaries to release"
# if: ${{ github.event_name == 'push' }}
# uses: ncipollo/release-action@v1
# with:
# tag: ${{ steps.previoustag.outputs.tag }}
# allowUpdates: true
# omitBodyDuringUpdate: true
# omitNameDuringUpdate: true
# artifacts: Vic2ToHoI4-1.1Spruance-win-x64.zip, Output\Vic2ToHoI4-1.1Spruance-win-x64.exe
# token: ${{ secrets.API_TOKEN_GITHUB }}
cp $Env:GITHUB_WORKSPACE\Output\Vic2ToHoI4-latest-win-x64.exe $Env:GITHUB_WORKSPACE\Output\Vic2ToHoI4-1.2Tito-win-x64.exe
- name: "Upload binaries to release"
if: ${{ github.event_name == 'push' }}
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.previoustag.outputs.tag }}
allowUpdates: true
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
artifacts: Vic2ToHoI4-1.2Tito-win-x64.zip, Output\Vic2ToHoI4-1.2Tito-win-x64.exe
token: ${{ secrets.API_TOKEN_GITHUB }}

- name: "Prepare pull request artifact"
if: ${{ github.event_name == 'pull_request' }}
Expand Down
2 changes: 1 addition & 1 deletion Vic2ToHoI4-Installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Vic2 to HoI4"
#define MyAppVersion "1.2 TBD"
#define MyAppVersion "1.2 Tito"
#define MyAppPublisher "Paradox Game Converters Group"
#define MyAppURL "https://paradoxgameconverters.com/"
#define MyAppExeName "ConverterFrontend.exe"
Expand Down
2 changes: 1 addition & 1 deletion data/version.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Version info

version = "1.2T"
name = "TBD"
name = "Tito"
source = "Vic2"
minSource = "3"
maxSource = "3"
Expand Down
3 changes: 0 additions & 3 deletions docs/release_checklist.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
* Add new banner to data/resources/images
* Update data/version.txt with new version and name
* Name is currently TBD. Update and remove this line prior to release.
* Update Vic2ToHoI4-Installer.iss with new version and name
* Name is currently TBD. Update and remove this line prior to release.
* Update data/readme.txt with new version
* Update .github/workflows/windows_build_test_and_push.yml with new name, filename, tag, and artifact
* Name is currently TBD. Update and remove this line prior to release.
* Create a new tag and release on github
* Push and merge on github
* Wait for build, confirm updates
Expand Down

0 comments on commit af476a2

Please sign in to comment.