Skip to content

Commit 40eeded

Browse files
committed
ci: fix typo and allow releasing branches
1 parent 89d21e4 commit 40eeded

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/publish-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Build dependencies
3636
run: pnpm run build
3737

38-
- name: Pubish packages
38+
- name: Publish packages
3939
uses: ./packages/actions/src/releasePackages
4040
with:
4141
exclude: '@discordjs/docgen'

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Release
22
on:
33
workflow_dispatch:
44
inputs:
5+
ref:
6+
description: 'The branch, tag or SHA to checkout'
7+
required: true
8+
default: 'main'
59
package:
610
description: 'The published name of a single package to release'
711
type: choice
@@ -44,6 +48,8 @@ jobs:
4448
steps:
4549
- name: Checkout repository
4650
uses: actions/checkout@v4
51+
with:
52+
ref: ${{ inputs.ref || '' }}
4753

4854
- name: Install Node.js v20
4955
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)