Skip to content

Commit 831d334

Browse files
committed
ci: fix typo and allow releasing branches
1 parent f96329a commit 831d334

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: .github/workflows/publish-dev.yml

+1-1
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'

Diff for: .github/workflows/release.yml

+6
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)