mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-06-17 00:58:30 +02:00
Fix #220
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user