mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-08-14 17:59:13 +00:00
[ACS-9977]: [publish] automatic tag creation work
This commit is contained in:
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -206,13 +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: |
|
||||||
|
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout | sed 's/-SNAPSHOT//')
|
||||||
|
mvn release:prepare \
|
||||||
|
-DskipTests=true \
|
||||||
|
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \
|
||||||
|
-Dusername=$GIT_USERNAME \
|
||||||
|
-Dpassword=$GIT_PASSWORD \
|
||||||
|
-DautoVersionSubmodules=true \
|
||||||
|
-DtagNameFormat=@{project.version} \
|
||||||
|
-Dtag=$VERSION -B
|
||||||
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 -P sdk-release -DskipTests=true -Dgpg.passphrase=$GPG_SIGNING_PASSPHRASE
|
||||||
mvn release:prepare \
|
|
||||||
-DskipTests=true \
|
|
||||||
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \
|
|
||||||
-Dusername=$GIT_USERNAME \
|
|
||||||
-Dpassword=$GIT_PASSWORD \
|
|
||||||
-DautoVersionSubmodules=true \
|
|
||||||
-DtagNameFormat=@{project.version} \
|
|
||||||
-Dtag=$VERSION \
|
|
||||||
-B
|
|
Reference in New Issue
Block a user