Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| efe47a2019 |
@@ -64,9 +64,9 @@ jobs:
|
|||||||
if [ -z "$VERSION_INPUT" ]; then
|
if [ -z "$VERSION_INPUT" ]; then
|
||||||
# Simple, reliable version scheme: timestamp + commit hash
|
# Simple, reliable version scheme: timestamp + commit hash
|
||||||
# Avoids unreliable Gitea API calls (network failures, timeouts)
|
# Avoids unreliable Gitea API calls (network failures, timeouts)
|
||||||
# Format: v0.1.YYYYMMDD.HHMMSS.COMMIT
|
# Format: vYYYY.MM.DD.HHMMSS.COMMIT
|
||||||
TIMESTAMP=$(TZ=Asia/Seoul date +%Y%m%d.%H%M%S)
|
TIMESTAMP=$(TZ=Asia/Seoul date +%Y.%m.%d.%H%M%S)
|
||||||
VERSION="v0.1.${TIMESTAMP}.${COMMIT}"
|
VERSION="v${TIMESTAMP}.${COMMIT}"
|
||||||
else
|
else
|
||||||
VERSION="$VERSION_INPUT"
|
VERSION="$VERSION_INPUT"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user