Skip to content

Commit

Permalink
Merge pull request #423 from ERC725Alliance/ci/release-flow
Browse files Browse the repository at this point in the history
ci: change version change check in release workflow + re-trigger release commit
  • Loading branch information
CJ42 authored Apr 18, 2024
2 parents b4ad23c + 5c7f6c4 commit 06d872b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,8 @@ jobs:
bump-minor-pre-major: true
default-branch: main

- name: 🔍 Check if version changed
uses: EndBug/version-check@v1
if: github.event_name == 'push'
id: check

- name: 🔄 Check if should release
run: echo "SHOULD_RELEASE=${{ steps.check.outputs.changed == 'true' }}" >> $GITHUB_ENV

- name: 📦 Publish to NPM
if: env.SHOULD_RELEASE == 'true'
if: steps.release.outputs.releases_created
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 06d872b

Please sign in to comment.