Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR-18541: support minor versions #470

Merged
merged 2 commits into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,22 @@ 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

- name: "Set Generated changelog"
uses: actions/github-script@v6
id: 'generated-changelog'
Expand Down
Loading