Skip to content

Commit

Permalink
[feature] reversert workflow comparator for release
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Aug 23, 2022
1 parent 8b8e593 commit a19cad1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ jobs:
NAV_DS_TOKEN: ${{secrets.GIT_REPO}}

- name: Update changed packages with PATCH
if: "contains(fromJson('[\"[fix]\", \"[patch]\"]'), github.event.head_commit.message)"
if: "contains(github.event.head_commit.message, '[fix]')"
run: yarn lerna version patch --force-publish --include-merged-tags --yes
- name: Update changed packages with MINOR
if: "contains(fromJson('[\"[feature]\", \"[minor]\"]'), github.event.head_commit.message)"
if: "contains(github.event.head_commit.message, '[feature]')"
run: yarn lerna version minor --force-publish --include-merged-tags --yes
- name: Update changed packages with MAJOR
if: "contains(fromJson('[\"[breaking]\", \"[major]\"]'), github.event.head_commit.message)"
if: "contains(github.event.head_commit.message, '[breaking]')"
run: yarn lerna version major --force-publish --include-merged-tags --yes
- name: Publish to NPM registry
run: yarn lerna publish --no-verify-access from-package --yes
Expand Down

0 comments on commit a19cad1

Please sign in to comment.