Skip to content

Commit 735f287

Browse files
authored
Merge pull request #110 from ChainSafe/mpetrunic/fix-ci
Fix publish ci in case of failure
2 parents 7517cb6 + 431e2f4 commit 735f287

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ jobs:
4545
- name: Build packages
4646
run: yarn run build
4747

48-
- name: Publish packages
49-
# manual switch to latest
50-
run: yarn publish --ignore-scripts --no-git-tag-version --no-commit-hooks --non-interactive --tag beta
51-
env:
52-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
53-
5448
- name: Get Changelog Entry
5549
id: changelog_reader
5650
uses: mindsers/changelog-reader-action@v2
@@ -66,8 +60,13 @@ jobs:
6660
with:
6761
tag_name: ${{ needs.tag.outputs.tag }}
6862
body: ${{ steps.changelog_reader.outputs.changes }}
69-
prerelease: true
63+
prerelease: false
7064
release_name: Release ${{ needs.tag.outputs.tag }}
65+
66+
- name: Publish packages
67+
run: yarn publish --ignore-scripts --no-git-tag-version --no-commit-hooks --non-interactive
68+
env:
69+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
7170
#in case of failure
7271
- name: Rollback on failure
7372
if: failure()

0 commit comments

Comments
 (0)