From 8fe52cc28f376b245ad8a1263f1e99173d2819a6 Mon Sep 17 00:00:00 2001 From: Tiago Vaz Date: Mon, 13 Oct 2025 19:04:11 -0300 Subject: [PATCH] fix: adjust minor-release workflow to handle ephemeral and PR versions --- .github/workflows/minor-release-latest.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/minor-release-latest.yml b/.github/workflows/minor-release-latest.yml index e4e3444d..7d6e65d2 100644 --- a/.github/workflows/minor-release-latest.yml +++ b/.github/workflows/minor-release-latest.yml @@ -43,7 +43,7 @@ jobs: run: yarn build:libs - name: Increment ephemeral version run: | - npx lerna version patch --yes --no-push + npx lerna version minor --yes --no-git-tag-version --no-push - name: Publish NPM run: yarn publish:from-package env: @@ -53,12 +53,12 @@ jobs: git reset --hard HEAD~1 - name: Create branch and PR to main run: | - BRANCH_NAME="update-patch-$(date +%s)" + BRANCH_NAME="update-minor-$(date +%s)" git checkout -b $BRANCH_NAME - npx lerna version patch --yes --no-push + npx lerna version minor --yes git add . - git commit -m "chore: bump patch version" + git commit -m "chore: bump minor version" git push origin $BRANCH_NAME - gh pr create --title "[skip] chore: bump patch version" --body "This PR bumps the patch version." --base main --head $BRANCH_NAME + gh pr create --title "[skip] chore: bump minor version" --body "This PR bumps the minor version." --base main --head $BRANCH_NAME env: GITHUB_TOKEN: ${{ secrets.IQ_ADM_TIM_TOKEN }}