Skip to content

Commit 2d0764f

Browse files
authoredFeb 24, 2024
chore: fix canary chron publishing & release changelog generation (#9233)
* chore: fix canary chron publishing * chore: fix release script access to github API
1 parent 959ece4 commit 2d0764f

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
 

‎.github/workflows/release_publish-canary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
5757
git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
5858
- name: Publish with script
59-
run: bun release canary -i ${{ github.event.inputs.increment }}
59+
run: bun release exec canary --increment=${{ github.event.inputs.increment }}
6060
env:
6161
FORCE_COLOR: 2
6262
CI: true

‎.github/workflows/release_publish-lts.yml

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
FORCE_COLOR: 2
5858
CI: true
5959
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
60+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
6061
- uses: actions/upload-artifact@v4
6162
with:
6263
name: tarballs

‎.github/workflows/release_publish-stable.yml

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
FORCE_COLOR: 2
9090
CI: true
9191
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
92+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
9293
- name: Publish New Release (Reversion)
9394
# If we are reversioning
9495
# Then we increment from the branch with the supplied increment
@@ -99,3 +100,4 @@ jobs:
99100
FORCE_COLOR: 2
100101
CI: true
101102
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
103+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)