Nightly display version (#670)

* Link to nightly and parse version better

* Add nightly date.
This commit is contained in:
Max Goedjen
2025-09-04 00:19:55 -07:00
committed by GitHub
parent e0c24917f2
commit 902d5c4a1e
8 changed files with 46 additions and 12 deletions

View File

@@ -30,7 +30,8 @@ jobs:
env:
RUN_ID: ${{ github.run_id }}
run: |
sed -i '' -e "s/GITHUB_CI_VERSION/0.0.0/g" Sources/Config/Config.xcconfig
DATE=$(date "+%Y-%m-%d")
sed -i '' -e "s/GITHUB_CI_VERSION/0.0.0_nightly-$DATE/g" Sources/Config/Config.xcconfig
sed -i '' -e "s/GITHUB_BUILD_NUMBER/1.$RUN_ID/g" Sources/Config/Config.xcconfig
sed -i '' -e "s/GITHUB_BUILD_URL/https:\/\/github.com\/maxgoedjen\/secretive\/actions\/runs\/$RUN_ID/g" Sources/Secretive/Credits.rtf
- name: Build