From 51de7673e4dd8f34fa8e4e74a1afc099f178638e Mon Sep 17 00:00:00 2001 From: Shrilakshmi Shastry Date: Mon, 25 Mar 2024 08:15:45 +0530 Subject: [PATCH 1/3] Update release.yml --- .github/workflows/release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7660d56..aec34d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,17 +28,18 @@ jobs: run: | git config --global user.email "shrilakshmishastry@gmail.com" git config --global user.name "shrilakshmishastry" - - - - name: version bump up - run: yarn version --new-version minor - + - name: checkout to a new branch run: | git checkout -b pr-merge-to-develop-temp-branch git add . git commit -m "chore: release new tag " - git push origin pr-merge-to-develop-temp-branch + git push origin pr-merge-to-develop-temp-branch + + - name: version bump up + run: yarn version --new-version minor + + - name: rise PR and merge uses: peter-evans/create-pull-request@v3 From 39e71417df30cb991ec99448fa0c29525197b668 Mon Sep 17 00:00:00 2001 From: Shrilakshmi Shastry Date: Mon, 25 Mar 2024 08:24:02 +0530 Subject: [PATCH 2/3] Update release.yml --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aec34d0..3d4c975 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,8 +36,15 @@ jobs: git commit -m "chore: release new tag " git push origin pr-merge-to-develop-temp-branch - - name: version bump up - run: yarn version --new-version minor + - name: 'Automated Version Bump' + uses: 'phips28/gh-action-bump-version@master' + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + minor-wording: 'add, Adds,new' + major-wording: 'MAJOR,cut-major' + patch-wording: 'patch, fixes' # Providing patch-wording will override commits + # defaulting to a patch bump. + rc-wording: 'RELEASE, alpha' From 53f30037ff79ebffcd73b65077e84512aecc2b64 Mon Sep 17 00:00:00 2001 From: Shrilakshmi Shastry Date: Mon, 25 Mar 2024 08:24:50 +0530 Subject: [PATCH 3/3] Update release.yml --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d4c975..b6b1915 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,9 @@ jobs: uses: 'phips28/gh-action-bump-version@master' with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - minor-wording: 'add, Adds,new' - major-wording: 'MAJOR,cut-major' - patch-wording: 'patch, fixes' # Providing patch-wording will override commits + minor-wording: 'add, Adds,new, update,chore' + major-wording: 'MAJOR,cut-major, feat' + patch-wording: 'patch, fixes, fix, refactor' # Providing patch-wording will override commits # defaulting to a patch bump. rc-wording: 'RELEASE, alpha'