File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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" \
Original file line number Diff line number Diff line change 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 ;;
Original file line number Diff line number Diff 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 ;;
You can’t perform that action at this time.
0 commit comments