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

This commit is contained in:
vivekkr0311
2025-08-06 17:38:58 +05:30
parent b4ad974e0a
commit 3c6b45ab6f

View File

@@ -205,15 +205,14 @@ jobs:
git config --global user.email "${GIT_EMAIL:-github-actions[bot]@users.noreply.github.com}" git config --global user.email "${GIT_EMAIL:-github-actions[bot]@users.noreply.github.com}"
- name: "Create release tag" - name: "Create release tag"
run: | run: |
mvn --batch-mode clean package gpg:sign \ mvn --batch-mode clean package gpg:sign -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE \
release:prepare \ release:prepare \
-DskipTests=true \ -DscmCommentPrefix="[maven-release-plugin][skip ci] " \
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \ -Dusername=$GIT_USERNAME \
-Dusername=$GIT_USERNAME \ -Dpassword=$GIT_PASSWORD \
-Dpassword=$GIT_PASSWORD \ -DautoVersionSubmodules=true \
-DautoVersionSubmodules=true \ -DtagNameFormat=@{project.version} \
-DtagNameFormat=@{project.version} \ -B
-B
- name: "Publish" - name: "Publish"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: | run: |