Skip to content

Commit

Permalink
Prep for version 0.4 (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur authored Mar 10, 2024
1 parent 29cdb0c commit 6d62d6e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 22 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/windows_build_test_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ jobs:
echo '# Version info' | out-file data/version.txt -encoding ASCII
echo '' | out-file data/version.txt -encoding ASCII -append
echo 'version = "${{ steps.version_number.outputs.major }}.${{ steps.version_number.outputs.minor }}.${{ steps.version_number.outputs.patch }}"' | out-file data/version.txt -encoding ASCII -append
echo 'name = "Chen"' | out-file data/version.txt -encoding ASCII -append
echo 'name = "TBD"' | out-file data/version.txt -encoding ASCII -append
echo 'source = "Vic3"' | out-file data/version.txt -encoding ASCII -append
echo 'minSource = "1.3"' | out-file data/version.txt -encoding ASCII -append
echo 'maxSource = "1.5"' | out-file data/version.txt -encoding ASCII -append
echo 'maxSource = "1.6"' | out-file data/version.txt -encoding ASCII -append
echo 'target = "HoI4"' | out-file data/version.txt -encoding ASCII -append
echo 'minTarget = "1.13"' | out-file data/version.txt -encoding ASCII -append
echo 'maxTarget = "1.13"' | out-file data/version.txt -encoding ASCII -append
echo 'minTarget = "1.14"' | out-file data/version.txt -encoding ASCII -append
echo 'maxTarget = "1.14"' | out-file data/version.txt -encoding ASCII -append
cat data/version.txt
- name: "Build solution"
Expand Down Expand Up @@ -110,16 +110,16 @@ jobs:
artifacts: Vic3ToHoI4-${{ steps.version_number.outputs.major }}.${{ steps.version_number.outputs.minor }}-win-x64.zip, Output\Vic3ToHoI4-${{ steps.version_number.outputs.major }}.${{ steps.version_number.outputs.minor }}-win-x64.exe
token: ${{ secrets.API_TOKEN_GITHUB }}

- name: "Upload binaries to latest release"
if: ${{ github.event_name == 'push' }}
uses: ncipollo/release-action@v1
with:
tag: latest
allowUpdates: true
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
artifacts: Vic3ToHoI4-latest-win-x64.zip, Output\Vic3ToHoI4-latest-win-x64.exe
token: ${{ secrets.API_TOKEN_GITHUB }}
# - name: "Upload binaries to latest release"
# if: ${{ github.event_name == 'push' }}
# uses: ncipollo/release-action@v1
# with:
# tag: latest
# allowUpdates: true
# omitBodyDuringUpdate: true
# omitNameDuringUpdate: true
# artifacts: Vic3ToHoI4-latest-win-x64.zip, Output\Vic3ToHoI4-latest-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 Vic3ToHoI4-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 "Vic3 to HoI4"
#define MyAppVersion "0.3 Chen"
#define MyAppVersion "0.4 TBD"
#define MyAppPublisher "Paradox Game Converters Group"
#define MyAppURL "https://paradoxgameconverters.com/"
#define MyAppExeName "ConverterFrontend.exe"
Expand Down
4 changes: 2 additions & 2 deletions data/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Documentation: https://hoi4.paradoxwikis.com/Victoria_3_to_Hearts_of_Iron_IV_con
----
SUPPORTED VERSIONS
----
Hoi4 - 1.13
Vic3 - 1.3-1.5
Hoi4 - 1.14
Vic3 - 1.3-1.6


----
Expand Down
10 changes: 5 additions & 5 deletions data/version.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Version info

version = "0.3.0"
name = "Chen"
version = "0.4.0"
name = "TBD"
source = "Vic3"
minSource = "1.3"
maxSource = "1.5"
maxSource = "1.6"
target = "HoI4"
minTarget = "1.13"
maxTarget = "1.13"
minTarget = "1.14"
maxTarget = "1.14"
3 changes: 3 additions & 0 deletions docs/release_checklist.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
* 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 Vic3ToHoI4-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
* Many workflows disabled until release is ready. Reenable them prior to release and delete this line.
* Create commit with MINOR or MAJOR in the commit message as appropriate, and tagged with new version
* Push and merge on github
* Wait for build, confirm updates
Expand Down

0 comments on commit 6d62d6e

Please sign in to comment.