Skip to content

Commit 9b3015f

Browse files
vklimontovichclaude
andcommitted
fix: allow manual release from main without a tag
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3015dd3 commit 9b3015f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858
npm publish --provenance --access public
5959
6060
publish-manual:
61-
if: github.event_name == 'workflow_dispatch' && inputs.tag != ''
61+
if: github.event_name == 'workflow_dispatch'
6262
runs-on: ubuntu-latest
6363
permissions:
6464
contents: read
6565
id-token: write
6666
steps:
6767
- uses: actions/checkout@v4
6868
with:
69-
ref: ${{ inputs.tag }}
69+
ref: ${{ inputs.tag || github.ref }}
7070

7171
- uses: oven-sh/setup-bun@v2
7272
with:
@@ -78,7 +78,7 @@ jobs:
7878
registry-url: https://registry.npmjs.org
7979

8080
- name: Install dependencies
81-
run: bun install
81+
run: bun install --frozen-lockfile
8282

8383
- name: Build
8484
run: bun run build

0 commit comments

Comments
 (0)