git.iko.soy/parseable-macos
on master help sign in
Use yyyy.MM.dd.HHmm version format (#38)

Change the commit-timestamp version string from YYYYMMdd.HHmmss to YYYY.MM.dd.HHmm, dropping seconds and separating date components with dots for readability. https://claude.ai/code/session_018kL8wKbzQTvxQNPm6cXeT4 Co-authored-by: Claude <noreply@anthropic.com>

commit6694446b1285124e87e9199ad198057c1b481112 authoriko <mail@iko.soy> dateMon 16 Feb 2026, 01:33 (8 months ago) parent2bd4bba
2 files changed+2−2
.github/workflows/build.yml+1−1 project.yml+1−1
.github/workflows/build.yml+1−1
@@ -147,7 +147,7 @@ jobs:
147147 - name: Compute version from commit timestamp
148148 id: version
149149 run: |
150− COMMIT_TIMESTAMP=$(TZ=UTC git log -1 --format='%cd' --date=format-local:'%Y%m%d.%H%M%S')
150+ COMMIT_TIMESTAMP=$(TZ=UTC git log -1 --format='%cd' --date=format-local:'%Y.%m.%d.%H%M')
151151 echo "timestamp=$COMMIT_TIMESTAMP" >> "$GITHUB_OUTPUT"
152152
153153 - name: Download all artifacts
project.yml+1−1
@@ -39,7 +39,7 @@ targets:
3939 SWIFT_COMPILATION_MODE: "wholemodule"
4040 postBuildScripts:
4141 - script: |
42− COMMIT_TIMESTAMP=$(TZ=UTC git log -1 --format='%cd' --date=format-local:'%Y%m%d.%H%M%S' 2>/dev/null)
42+ COMMIT_TIMESTAMP=$(TZ=UTC git log -1 --format='%cd' --date=format-local:'%Y.%m.%d.%H%M' 2>/dev/null)
4343 if [ -n "$COMMIT_TIMESTAMP" ]; then
4444 /usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${COMMIT_TIMESTAMP}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"
4545 /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${COMMIT_TIMESTAMP}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"