From 9ef7026da3d2af23baddcec1fdef8212d74b318d Mon Sep 17 00:00:00 2001 From: Ram Date: Sun, 10 Nov 2024 23:54:47 +0100 Subject: [PATCH] fix: push changes set to false to avoid pushing tag changes to main --- .github/workflows/cd-workflow.yml | 4 ++-- pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd-workflow.yml b/.github/workflows/cd-workflow.yml index 71836e2..5f4bd2f 100644 --- a/.github/workflows/cd-workflow.yml +++ b/.github/workflows/cd-workflow.yml @@ -42,7 +42,7 @@ jobs: git config --global user.name "Deploy Bot" - name: Prepare Release with specified version - run: mvn --batch-mode --no-transfer-progress -Pgithub -DpushChanges=true release:prepare release:perform -DscmCommentPrefix='chore:' -DreleaseVersion=${{ inputs.releaseVersion }} -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} + run: mvn --batch-mode --no-transfer-progress -Pgithub -DpushChanges=false release:prepare release:perform -DscmCommentPrefix='chore:' -DreleaseVersion=${{ inputs.releaseVersion }} -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} if: inputs.releaseVersion != '0.0.0' && inputs.releaseVersion != '' env: GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }} @@ -52,7 +52,7 @@ jobs: GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} - name: Prepare Release with default minor version increment - run: mvn -B --batch-mode --no-transfer-progress -Pgithub -DpushChanges=true release:prepare release:perform -DscmCommentPrefix='chore:' -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} + run: mvn -B --batch-mode --no-transfer-progress -Pgithub -DpushChanges=false release:prepare release:perform -DscmCommentPrefix='chore:' -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} if: inputs.releaseVersion == '0.0.0' || inputs.releaseVersion == '' env: GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }} diff --git a/pom.xml b/pom.xml index 6241fdc..027fdcc 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.github.nramc geojson4j - 0.1.0 + 0.3.0-SNAPSHOT A lightweight Java library for working with GeoJSON data, compliant with RFC 7946. geojson4j provides @@ -17,7 +17,7 @@ https://github.com/nramc/geojson4j scm:git:https://github.com/nramc/geojson4j.git scm:git:https://github.com/nramc/geojson4j.git - v0.1.0 + HEAD