Skip to content

Commit 8b73d47

Browse files
authored
ci: restrict promote-to-latest to beta/rc (exclude alpha) (#66)
latest should track a release candidate or stable build, never an alpha. Drops alpha (and the no-op latest) from the Promote dropdown; default is rc.
1 parent 22f2c88 commit 8b73d47

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/promote.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@ on:
77
workflow_dispatch:
88
inputs:
99
source:
10-
description: 'Promote the version currently on this dist-tag'
10+
description: 'Promote the version currently on this dist-tag (alphas are intentionally excluded)'
1111
required: true
12-
default: alpha
12+
default: rc
1313
type: choice
1414
options:
15-
- alpha
16-
- beta
1715
- rc
18-
- latest
16+
- beta
1917
version:
20-
description: 'Exact version override (optional, e.g. 1.0.0-alpha.4)'
18+
description: 'Exact version override (optional, e.g. 1.0.0-rc.1)'
2119
required: false
2220
type: string
2321

0 commit comments

Comments
 (0)