Skip to content

Commit

Permalink
FR-18541: support minor versions
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerFrontegg committed Nov 5, 2024
1 parent 56dce73 commit c2b0e9f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,23 @@ jobs:
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: set Patch release
id: version_type_patch
run: |
echo "VERSION_TYPE=patch" >> $GITHUB_ENV
- name: Set Minor release
id: version_type_minor
if: contains(join(github.event.pull_request.labels.*.name, ','), 'Minor')
run: |
echo "VERSION_TYPE=minor" >> $GITHUB_ENV
- name: Commit Version UP
run: |
yarn lerna version patch --no-git-tag-version --yes --no-push --force-publish
make update-version
yarn lerna version $VERSION_TYPE --no-git-tag-version --yes --no-push --force-publish
yarn update-version
yarn prettier-hook
- name: "Set Generated changelog"
uses: actions/github-script@v6
id: 'generated-changelog'
Expand Down

0 comments on commit c2b0e9f

Please sign in to comment.