build(electron): nightly build issue for windows (#7649)

ref https://github.com/toeverything/AFFiNE/actions/runs/10156494874/job/28085093900
This commit is contained in:
pengx17
2024-08-05 03:28:02 +00:00
parent c0c5c83dad
commit e3878ae8bf

View File

@@ -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-$GIT_SHORT_HASH
APP_VERSION=$PACKAGE_VERSION-nightly-$GIT_SHORT_HASH
fi
echo $APP_VERSION
echo "APP_VERSION=$APP_VERSION" >> "$GITHUB_OUTPUT"