mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-23 18:05:32 +00:00
* ACS-3841 Use configure-git-author, rename steps, remove always from maven cache clean step * ACS-3841 Fix PostgreSQL 13.7 tests step name * ACS-3841 Fix update_downstream job * ACS-3841 Set global option for configure-git-author action * ACS-3841 Update license header * ACS-3841 Update configure-git-author version + improve uploading artifacts * ACS-3841 Improve uploading artifacts * ACS-3841 Fix uploading artifacts * ACS-3841 Rename jobs names + revert removed functions * ACS-3841 Fix step condition * ACS-3841 Update to latest alfresco-build-tools Co-authored-by: mikolajbrzezinski <mikolaj.brzezinski@hyland.com>
24 lines
726 B
Bash
Executable File
24 lines
726 B
Bash
Executable File
#!/usr/bin/env bash
|
|
echo "=========================== Starting Release Script ==========================="
|
|
PS4="\[\e[35m\]+ \[\e[m\]"
|
|
set -vex
|
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
|
|
|
|
# Use full history for release
|
|
git checkout -B "${BRANCH_NAME}"
|
|
|
|
# Run the release plugin - with "[skip ci]" in the release commit message
|
|
mvn -B \
|
|
-Pall-tas-tests \
|
|
-Pags \
|
|
"-Darguments=-Pall-tas-tests -Pags -DskipTests -Dbuild-number=${BUILD_NUMBER}" \
|
|
release:clean release:prepare release:perform \
|
|
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \
|
|
-Dusername="${GIT_USERNAME}" \
|
|
-Dpassword="${GIT_PASSWORD}"
|
|
|
|
popd
|
|
set +vex
|
|
echo "=========================== Finishing Release Script =========================="
|
|
|