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
|
@ -24,7 +24,12 @@ jobs:
|
||||||
tar xf 4.2.2.stable.tar.xz
|
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
|
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
|
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
|
- name: Windows Build
|
||||||
run: |
|
run: |
|
||||||
cd /workspace/$USER/
|
cd /workspace/$USER/
|
||||||
|
|
Loading…
Reference in a new issue