Skip to content

Commit 71dd4ca

Browse files
committed
Update release workflow
1 parent 352ff3b commit 71dd4ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
prefix: crossbeam(-[a-z]+)?
2525
changelog: $prefix/CHANGELOG.md
2626
title: $prefix $version
27-
branch: master
27+
branch: v0.8
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
if: "!startsWith(github.ref_name, 'crossbeam-0')"
@@ -35,7 +35,7 @@ jobs:
3535
prefix: crossbeam(-[a-z]+)?
3636
changelog: CHANGELOG.md
3737
title: crossbeam $version
38-
branch: master
38+
branch: v0.8
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
if: startsWith(github.ref_name, 'crossbeam-0')

tools/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ if gh release view "${tag}" &>/dev/null; then
3333
bail "tag '${tag}' has already been created and pushed"
3434
fi
3535

36-
if ! git branch | grep -q '\* master'; then
37-
bail "current branch is not 'master'"
36+
if ! git branch | grep -q '\* v0.8'; then
37+
bail "current branch is not 'v0.8'"
3838
fi
3939

4040
git tag "${tag}"

0 commit comments

Comments
 (0)