Skip to content

Commit 5a48510

Browse files
committed
env branch name
1 parent 2f01b27 commit 5a48510

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
permissions:
3030
contents: write
3131

32+
env:
33+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
34+
3235
steps:
3336
- uses: actions/checkout@v5
3437
with:
@@ -40,7 +43,7 @@ jobs:
4043
- name: Install uv
4144
uses: astral-sh/setup-uv@v7
4245
- name: Build berserk package
43-
run: uv run release.py --bump ${{ github.event.inputs.bump }}
46+
run: uv run release.py --bump ${{ github.event.inputs.bump }} --branch ${{ env.BRANCH_NAME }}
4447
- name: Store the distribution packages
4548
uses: actions/upload-artifact@v4
4649
with:

0 commit comments

Comments
 (0)