Skip to content

Commit b69b6a1

Browse files
committed
refactor: use vVERSION branch name instead of release
1 parent d63b336 commit b69b6a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/npm-brew.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v3
2525

26+
- name: Get version branch
27+
id: version-branch
28+
run: echo "::set-output name=name::v$(jq .version package.json)"
29+
2630
- name: Download artifact
2731
uses: dawidd6/action-download-artifact@v2
2832
id: download
2933
with:
30-
branch: release
34+
branch: v${{ steps.version-branch.outputs.name }}
3135
workflow_conclusion: completed
3236
name: "npm-package"
3337
path: release-npm-package

docs/MAINTAINING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ If you're the current release manager, follow these steps:
164164

165165
### Publishing a release
166166

167-
1. Create a new branch called `release` (the npm workflow will look for this when a new GitHub release is published)
167+
1. Create a new branch called `v0.0.0` (replace 0s with actual version aka v4.1.0)
168168
1. Run `yarn release:prep` and type in the new version (e.g., `3.8.1`)
169169
1. GitHub Actions will generate the `npm-package`, `release-packages` and
170170
`release-images` artifacts. You do not have to wait for this step to complete

0 commit comments

Comments
 (0)