From abaa7b3060a0f1b5b68e317a36e83bc14125f472 Mon Sep 17 00:00:00 2001 From: vivekkr0311 Date: Fri, 8 Aug 2025 09:04:17 +0530 Subject: [PATCH] [ACS-9977]: [publish] automatic tag creation work --- .github/workflows/ci.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebefd802..fc3b64e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -206,14 +206,13 @@ jobs: - name: "Publish" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | - mvn --batch-mode clean package gpg:sign central-publishing:publish -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE - - name: "Create release tag" - run: | - mvn --batch-mode clean package gpg:sign -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE \ - release:prepare \ - -DscmCommentPrefix="[maven-release-plugin][skip ci] " \ - -Dusername=$GIT_USERNAME \ - -Dpassword=$GIT_PASSWORD \ - -DautoVersionSubmodules=true \ - -DtagNameFormat=@{project.version} \ - -B \ No newline at end of file + mvn --batch-mode clean package gpg:sign central-publishing:publish release:prepare \ + -DscmCommentPrefix="[maven-release-plugin][skip ci] " \ + -Dusername=$GIT_USERNAME \ + -Dpassword=$GIT_PASSWORD \ + -Psdk-release \ + -DskipTests=true \ + -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE \ + -DautoVersionSubmodules=true \ + -DtagNameFormat=@{project.version} \ + -B \ No newline at end of file