Automatically fetch the build date on build time.
All checks were successful
godot-ci export / Export Projects (push) Successful in 6m47s

This commit is contained in:
Paul Black 2024-06-09 08:34:21 +00:00
parent 3891c29aaf
commit dd0a92ac92

View file

@ -24,7 +24,12 @@ jobs:
tar xf 4.2.2.stable.tar.xz
wget https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip
unzip Godot_v4.2.2-stable_linux.x86_64.zip
mv Godot_v4.2.2-stable_linux.x86_64 /usr/bin/godot
mv Godot_v4.2.2-stable_linux.x86_64 /usr/bin/godot
- name: Set the build date in the main-menu
run: |
cd /workspace/$USER/$PROJECT/
current_date=$(date +"%Y%m%d")
sed -i "s/DEVELOPMENT/$current_date/g" scenes/mainmenu.tscn
- name: Windows Build
run: |
cd /workspace/$USER/