mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-23 23:01:49 +01:00
Fix #220
This commit is contained in:
parent
32d0987883
commit
6da11b92e9
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -8,6 +8,7 @@ jobs:
|
||||
|
||||
- name: Create name version env
|
||||
run: |
|
||||
sudo timedatectl set-timezone Asia/Singapore
|
||||
echo "DATE=$(date +%Y-%m-%d)" >> $GITHUB_ENV
|
||||
echo "SHA_SHORT=$(echo ${{ github.sha }} | cut -c -7)" >> $GITHUB_ENV
|
||||
|
||||
|
@ -90,7 +90,8 @@ Main() {
|
||||
fi
|
||||
Echo "Version: $CurrentVersion"
|
||||
elif [[ -e resources/git_hash ]]; then
|
||||
Echo "Version: $(cat resources/git_hash)"
|
||||
CurrentVersion="$(cat resources/git_hash)"
|
||||
Echo "Version: $CurrentVersion"
|
||||
else
|
||||
Echo "Version: Unknown"
|
||||
if [[ $NoVersionCheck != 1 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user