[ACS-9977]: [publish] automatic tag creation work

This commit is contained in:
vivekkr0311
2025-08-08 09:04:17 +05:30
parent 44d6185707
commit abaa7b3060

View File

@@ -206,14 +206,13 @@ jobs:
- name: "Publish" - name: "Publish"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: | run: |
mvn --batch-mode clean package gpg:sign central-publishing:publish -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE mvn --batch-mode clean package gpg:sign central-publishing:publish release:prepare \
- name: "Create release tag" -DscmCommentPrefix="[maven-release-plugin][skip ci] " \
run: | -Dusername=$GIT_USERNAME \
mvn --batch-mode clean package gpg:sign -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE \ -Dpassword=$GIT_PASSWORD \
release:prepare \ -Psdk-release \
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \ -DskipTests=true \
-Dusername=$GIT_USERNAME \ -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE \
-Dpassword=$GIT_PASSWORD \ -DautoVersionSubmodules=true \
-DautoVersionSubmodules=true \ -DtagNameFormat=@{project.version} \
-DtagNameFormat=@{project.version} \ -B
-B