mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2026-09-16 18:13:21 +00:00
Moved release versioning to global variables to be shared accross stages
Company release stage also needs access to release version. Run full build: [trigger release][trigger company release]
This commit is contained in:
+4
-6
@@ -16,6 +16,10 @@ before_cache:
|
||||
env:
|
||||
global:
|
||||
- VERSION_EDITION=Community
|
||||
# Must be in the format <alfresco-version>-<additional_versioning> ie. 6.3.0-repo-xxxx-x or 6.3.0-A-x
|
||||
- release_version=6.3.0-repo-4735-2-13
|
||||
- development_version=6.3.0-SNAPSHOT
|
||||
- COMM_RELEASE_VERSION=202003-test-release
|
||||
|
||||
branches:
|
||||
only:
|
||||
@@ -105,10 +109,6 @@ matrix:
|
||||
# only on develop or master branch
|
||||
if: commit_message ~= /\[trigger release\]/ AND fork = false AND branch = feature/REPO-4735_Add-release-stages-2 AND commit_message !~ /\[no-release\]/
|
||||
# Leaving blank will auto increment the
|
||||
env:
|
||||
# Must be in the format <alfresco-version>-<additional_versioning> ie. 6.3.0-repo-xxxx-x or 6.3.0-A-x
|
||||
- release_version=6.3.0-repo-4735-2-13
|
||||
- development_version=6.3.0-SNAPSHOT
|
||||
install: skip
|
||||
# Fail the job if there is a docker image tag that matches the release_version (or project version in the POM if not set)
|
||||
before_script: bash ./scripts/travis/verifyReleaseTag.sh
|
||||
@@ -136,8 +136,6 @@ matrix:
|
||||
# only on master branch
|
||||
if: commit_message ~= /\[trigger company release\]/ AND fork = false AND branch = feature/REPO-4735_Add-release-stages-2 AND commit_message !~ /\[no-release\]/
|
||||
name: "Copy to S3 Release"
|
||||
env:
|
||||
- COMM_RELEASE_VERSION=202003-test-release
|
||||
install: skip # Nothing to build/install as we are just copying from S3 buckets
|
||||
before_deploy: pip install awscli
|
||||
delpoy:
|
||||
|
||||
Reference in New Issue
Block a user