diff options
author | 2023-09-26 19:18:24 -0700 | |
---|---|---|
committer | 2023-09-26 19:18:24 -0700 | |
commit | 500c52af622e09dd6cece656f2a45f7ffc59f5f5 (patch) | |
tree | 3d1b33a7758c47d126e8d6fbf18f908f02d250f7 | |
parent | c1deec3c169ecb31b0503813ff60e7c6ec94c7e1 (diff) | |
download | bun-500c52af622e09dd6cece656f2a45f7ffc59f5f5.tar.gz bun-500c52af622e09dd6cece656f2a45f7ffc59f5f5.tar.zst bun-500c52af622e09dd6cece656f2a45f7ffc59f5f5.zip |
Add is-latest flag to manual release
-rw-r--r-- | .github/workflows/bun-release.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/bun-release.yml b/.github/workflows/bun-release.yml index 883d408e9..9319e528d 100644 --- a/.github/workflows/bun-release.yml +++ b/.github/workflows/bun-release.yml @@ -10,6 +10,10 @@ on: - cron: "0 14 * * *" # every day at 6am PST workflow_dispatch: inputs: + is-latest: + description: Is this the latest release? + type: boolean + default: false tag: type: string description: What is the release tag? (e.g. "1.0.2", "canary") @@ -156,7 +160,7 @@ jobs: with: images: oven/bun flavor: | - latest=${{ github.event.release.tag_name == env.BUN_VERSION }} + latest=${{ github.event.inputs.is-latest == 'true' || github.event.release.tag_name == env.BUN_VERSION }} suffix=${{ matrix.suffix }} tags: | type=match,pattern=(bun-v)?(canary|\d+.\d+.\d+),group=2,value=${{ env.BUN_VERSION }} |