Skip to content

Commit

Permalink
release: fix CI variable substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
jerbmega committed Jan 1, 2024
1 parent 5438bab commit 7dc73d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo "version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
echo "#define VERSION `"$version`"" >> ${{github.workspace}}/repentogon/Version.h
(gc ${{github.workspace}}/repentogon/resources/scripts/main_ex.lua) -replace 'dev build', "$version" | Out-File -encoding ASCII ${{github.workspace}}/repentogon/resources/scripts/main_ex.lua
(gc ${{github.workspace}}/launcher/Updater.cpp) -replace 'std::string version = "dev build";', 'std::string version = "$version";' | Out-File -encoding ASCII ${{github.workspace}}/launcher/Updater.cpp
(gc ${{github.workspace}}/launcher/Updater.cpp) -replace 'std::string version = "dev build";', "std::string version = `"$version`";" | Out-File -encoding ASCII ${{github.workspace}}/launcher/Updater.cpp
- name: Configure CMake
run: cmake -G "Visual Studio 17 2022" -A "Win32" -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down
5 changes: 2 additions & 3 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Welcome to the first release of REPENTOGON! This changelog will be used to communicate changes in the future.

Happy Year of the Dragon!
v1.0.1 -
Fixed the updater erroneously asking to update, sorry :(
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1

0 comments on commit 7dc73d8

Please sign in to comment.