diff --git a/.github/actions/prepare-release/action.yml b/.github/actions/prepare-release/action.yml index f49b6e949..26176fa9c 100644 --- a/.github/actions/prepare-release/action.yml +++ b/.github/actions/prepare-release/action.yml @@ -21,8 +21,7 @@ runs: if [ "${{ github.ref_type }}" == "tag" ]; then APP_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//') else - PACKAGE_VERSION=$(node -p "require('./package.json').version") - APP_VERSION=$PACKAGE_VERSION-canary.$GIT_SHORT_HASH + APP_VERSION=$(date '+%Y.%-m.%-d-canary.%H')+build.$GIT_SHORT_HASH fi if [[ "$APP_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then BUILD_TYPE=stable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e825db65..321e2aa4c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,6 @@ name: Release on: - push: - tags: - - 'v[0-9]+.[0-9]+.[0-9]+-canary.*' - schedule: - cron: '0 9 * * *'