mirror of
https://github.com/larksuite/cli.git
synced 2026-08-03 08:32:46 +08:00
test: prepare beta.4 release rehearsal
This commit is contained in:
25
.github/workflows/queue-probe.yml
vendored
25
.github/workflows/queue-probe.yml
vendored
@@ -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)"
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -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"
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user