diff --git a/.github/workflows/queue-probe.yml b/.github/workflows/queue-probe.yml deleted file mode 100644 index 998a4748b..000000000 --- a/.github/workflows/queue-probe.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Release Queue Probe - -on: - push: - branches: - - test/macos-release-rehearsal - -permissions: - contents: read - -jobs: - queue-probe: - runs-on: ubuntu-22.04 - timeout-minutes: 5 - concurrency: - group: npm-release-beta - queue: max - cancel-in-progress: false - steps: - - name: Hold the beta publication queue - run: | - set -euo pipefail - echo "queue probe entered at $(date -u +%FT%TZ)" - sleep 120 - echo "queue probe completed at $(date -u +%FT%TZ)" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 596556181..2d99a9053 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -217,7 +217,6 @@ jobs: env: GH_TOKEN: ${{ github.token }} PRERELEASE: ${{ needs.preflight.outputs.prerelease }} - REHEARSAL_PARTIAL_DRAFT: true SOURCE_SHA: ${{ needs.preflight.outputs.source_sha }} TAG: ${{ github.ref_name }} run: | @@ -280,11 +279,6 @@ jobs: gh release create "${args[@]}" --notes-file "$release_notes" fi gh release edit "$TAG" --notes-file "$release_notes" - if [[ "${REHEARSAL_PARTIAL_DRAFT:-}" == "true" && "$GITHUB_RUN_ATTEMPT" == "1" ]]; then - gh release upload "$TAG" "${release_assets[0]}" - echo "S2 rehearsal: partial Draft uploaded; re-run failed jobs to resume." >&2 - exit 1 - fi gh release upload "$TAG" "${release_assets[@]}" diff --brief \ <(printf '%s\n' "${release_assets[@]##*/}" | sort) \ @@ -314,7 +308,6 @@ jobs: env: ARCH: ${{ matrix.arch }} MACOS_TEAM_ID: ${{ vars.MACOS_TEAM_ID }} - REHEARSAL_EXPECTED_TEAM_ID: TEST_INVALID_TEAM VERSION: ${{ needs.preflight.outputs.version }} run: | set -euo pipefail @@ -330,7 +323,6 @@ jobs: [[ -f "$binary" && ! -L "$binary" ]] || { echo "Archive did not contain a regular lark-cli binary." >&2; exit 1; } codesign --verify --strict --verbose=4 "$binary" details="$(codesign -dv --verbose=4 "$binary" 2>&1)" - [[ -z "${REHEARSAL_EXPECTED_TEAM_ID:-}" ]] || MACOS_TEAM_ID="$REHEARSAL_EXPECTED_TEAM_ID" grep -Eq '^Authority=Developer ID Application: .+' <<<"$details" grep -Fxq "TeamIdentifier=${MACOS_TEAM_ID}" <<<"$details" grep -Eq '^flags=0x[0-9A-Fa-f]+\(.*runtime.*\)' <<<"$details" diff --git a/package-lock.json b/package-lock.json index 7040fdf18..d9dbef008 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@larksuite/cli", - "version": "1.0.79-beta.1", + "version": "1.0.79-beta.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@larksuite/cli", - "version": "1.0.79-beta.1", + "version": "1.0.79-beta.4", "cpu": [ "x64", "arm64", diff --git a/package.json b/package.json index 32dcbe124..5fb52b8da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@larksuite/cli", - "version": "1.0.79-beta.1", + "version": "1.0.79-beta.4", "description": "The official CLI for Lark/Feishu open platform", "bin": { "lark-cli": "scripts/run.js"