Skip to content

Commit 9a982e6

Browse files
mfbzjribbink
andauthored
Fix push tags in release workflow (#2767)
* Fixed tags push after release * Added changeset * Added force depth * Update .changeset/wet-monkeys-behave.md Co-authored-by: Jordan Ribbink <17958158+jribbink@users.noreply.github.com> --------- Co-authored-by: mfbz <mfbz@users.noreply.github.com> Co-authored-by: Jordan Ribbink <17958158+jribbink@users.noreply.github.com>
1 parent de7fdd4 commit 9a982e6

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

‎.changeset/wet-monkeys-behave.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@onflow/config": patch
3+
"@onflow/demo": patch
4+
"@onflow/fcl-react-native": patch
5+
"@onflow/fcl-core": patch
6+
"@onflow/react-core": patch
7+
"@onflow/react-sdk": patch
8+
"@onflow/transport-http": patch
9+
---
10+
11+
Trigger Changeset Release workflow.

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
uses: actions/checkout@v4
5757
with:
5858
token: ${{ secrets.GITHUB_TOKEN }}
59+
fetch-depth: 0
5960

6061
- name: Setup Node.js
6162
uses: actions/setup-node@v4
@@ -73,13 +74,13 @@ jobs:
7374
run: npm run build
7475

7576
- name: Publish to npm
76-
run: npx changeset publish
77+
uses: changesets/action@v1
78+
with:
79+
publish: npx changeset publish
7780
env:
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7882
# Clear tokens to allow OIDC authentication
7983
# https://github.com/orgs/community/discussions/176761
8084
# https://github.com/changesets/changesets/issues/1152
8185
NODE_AUTH_TOKEN: ""
8286
NPM_TOKEN: ""
83-
84-
- name: Push tags
85-
run: git push origin --tags

0 commit comments

Comments
 (0)