Skip to content

Commit e38983e

Browse files
committed
ci(nightly): cannot have 10+ digits in patch
1 parent d250994 commit e38983e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: version
2525
if: ${{ steps.deploy-nightly.outputs.MAIN-SHA != steps.deploy-nightly.outputs.NIGHTLY-SHA }}
2626
run: |
27-
datetime=$(date +%Y%m%d%H%M)
27+
datetime=$(date +%Y%m%d%H)
2828
pkg_version=$(node -p "require('./package.json').version")
2929
version=$( echo $pkg_version | sed -E "s/^([0-9]+\.[0-9]+\.)[0-9]+/\1$datetime/g")
3030
echo "::set-output name=DATETIME::$datetime"

0 commit comments

Comments
 (0)