Automatically fetch the build date on build time.
All checks were successful
godot-ci export / Export Projects (push) Successful in 6m47s
All checks were successful
godot-ci export / Export Projects (push) Successful in 6m47s
This commit is contained in:
parent
3891c29aaf
commit
dd0a92ac92
1 changed files with 6 additions and 1 deletions
|
@ -25,6 +25,11 @@ jobs:
|
|||
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
|
||||
- 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/
|
||||
|
|
Loading…
Reference in a new issue