From fcc42104fa17348c2f80a43212defae7e78c0f5f Mon Sep 17 00:00:00 2001 From: Brooooooklyn Date: Fri, 26 Jul 2024 07:45:23 +0000 Subject: [PATCH] build: make nightly version shorter (#7613) Ref: https://github.com/toeverything/AFFiNE/actions/runs/10091231369 --- .github/actions/setup-version/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-version/action.yml b/.github/actions/setup-version/action.yml index f27ce3fc3..8f089bfe8 100644 --- a/.github/actions/setup-version/action.yml +++ b/.github/actions/setup-version/action.yml @@ -17,7 +17,7 @@ runs: PACKAGE_VERSION=$(node -p "require('./package.json').version") TIME_VERSION=$(date +%Y%m%d%H%M) GIT_SHORT_HASH=$(git rev-parse --short HEAD) - APP_VERSION=$PACKAGE_VERSION-nightly-$TIME_VERSION-$GIT_SHORT_HASH + APP_VERSION=$PACKAGE_VERSION-$GIT_SHORT_HASH fi echo $APP_VERSION echo "APP_VERSION=$APP_VERSION" >> "$GITHUB_OUTPUT"