Skip to content

Commit fe2bff2

Browse files
committed
Revert "Refer timestamp of last push for versioning artifacts"
This reverts commit 8dbc563.
1 parent 8dbc563 commit fe2bff2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/actions/build-debian-packages/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
# format.
1313
# Stable version format : X.Y.Z
1414
# Unstable/nightly version format : X.Y.Z~gitYYYYMMDDHHMM.<Github SHA 8 digit>
15-
DATETIME=$(date -d '${{ github.event.repository.pushed_at }}' -u +'%Y%m%d%H%M')
15+
DATETIME=$(date -u +'%Y%m%d%H%M')
1616
SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-8)
1717
SUFFIX="~git${DATETIME}.${SHORT_SHA}"
1818
sed -i "1s/(\([0-9]\+.[0-9]\+.[0-9]\+\))/(\1${SUFFIX})/g" \

.github/actions/deploy-docker-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323
;;
2424
nightly)
2525
# Nightly version tag : gitYYYYMMDDHHMM-<Github SHA 8 digit>-<amd64|arm64>
26-
DATE=$(date -d '${{ github.event.repository.pushed_at }}' -u +'%Y%m%d%H%M')
26+
DATE=$(date -u +'%Y%m%d%H%M')
2727
SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-8)
2828
TAG="git${DATE}-${SHORT_SHA}-${{ inputs.arch }}"
2929
;;

.github/workflows/update-cache-and-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
;;
180180
nightly)
181181
# Nightly version tag : gitYYYYMMDDHHMM-<Github SHA 8 digit>
182-
DATE=$(date -d '${{ github.event.repository.pushed_at }}' -u +'%Y%m%d%H%M')
182+
DATE=$(date -u +'%Y%m%d%H%M')
183183
SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-8)
184184
TAG="git${DATE}-${SHORT_SHA}"
185185
;;

0 commit comments

Comments
 (0)