Compare commits

...

12 Commits

Author SHA1 Message Date
Travis CI User
750b7babc9 [maven-release-plugin][skip ci] prepare release 14.121.3 2022-03-09 12:08:12 +00:00
Tom Page
094aa9c485 [force 7.2.0-A27.3] ACS-2608 Test force release. 2022-03-09 11:56:33 +00:00
Travis CI User
aaf694e580 [maven-release-plugin][skip ci] prepare for next development iteration 2022-03-08 18:06:52 +00:00
Travis CI User
56eb845781 [maven-release-plugin][skip ci] prepare release 14.121.2 2022-03-08 18:06:50 +00:00
Tom Page
364fdea921 [force 7.2.0-A27.2] ACS-2608 Test force release. 2022-03-08 17:55:33 +00:00
Travis CI User
2905e4ffeb [maven-release-plugin][skip ci] prepare for next development iteration 2022-03-08 11:24:59 +00:00
Travis CI User
514d4123bf [maven-release-plugin][skip ci] prepare release 14.121.1 2022-03-08 11:24:55 +00:00
Tom Page
2825d09fc9 [force 7.2.0-A27.1] ACS-2608 Fix regex for force. 2022-03-08 10:47:46 +00:00
Tom Page
4bda51a481 [force 7.2.0-A27.1] ACS-2608 Test force release. 2022-03-08 10:36:39 +00:00
Tom Page
b2ba188182 ACS-2608 Use 14.121.x for branch. 2022-03-08 10:31:04 +00:00
Tom Page
1c7bbe6c29 ACS-2608 Rename bash variable to match convention. 2022-03-08 10:23:42 +00:00
Tom Page
6ae9f88bb5 ACS-2608 Support force directive. 2022-03-08 10:23:42 +00:00
26 changed files with 31 additions and 27 deletions

View File

@@ -32,7 +32,7 @@ env:
stages:
- name: test
if: commit_message !~ /\[skip tests\]/
if: commit_message !~ /\[skip tests\]/ AND commit_message !~ /\[force[^\]]*\]/
- name: release
if: commit_message !~ /\[no release\]/ AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND fork = false
- name: update_downstream

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-amps</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<modules>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-parent</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<modules>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-automation-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<build>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-parent</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<modules>

View File

@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-repo-parent</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<properties>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-repo-parent</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<build>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<modules>

View File

@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-amps</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<properties>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<dependencies>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<properties>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<dependencies>

View File

@@ -9,6 +9,6 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
</project>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<properties>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<modules>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<modules>

View File

@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<developers>

View File

@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<developers>

View File

@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<developers>

View File

@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<developers>

View File

@@ -9,7 +9,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<developers>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<properties>

View File

@@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
<packaging>pom</packaging>
<name>Alfresco Community Repo Parent</name>
@@ -146,7 +146,7 @@
<connection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</connection>
<developerConnection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</developerConnection>
<url>https://github.com/Alfresco/alfresco-community-repo</url>
<tag>HEAD</tag>
<tag>14.121.3</tag>
</scm>
<distributionManagement>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<dependencies>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId>
<version>14.122-SNAPSHOT</version>
<version>14.121.3</version>
</parent>
<dependencies>

View File

@@ -33,7 +33,11 @@ git status
git --no-pager diff pom.xml
git add pom.xml
if git status --untracked-files=no --porcelain | grep -q '^' ; then
if [[ "${TRAVIS_COMMIT_MESSAGE}" =~ \[force[^\]]*\] ]]; then
FORCE_TOKEN=$(echo "${TRAVIS_COMMIT_MESSAGE}" | sed "s|^.*\(\[force[^]]*\]\).*$|\1|g")
git commit --allow-empty -m "${FORCE_TOKEN} Update upstream version to ${VERSION}"
git push
elif git status --untracked-files=no --porcelain | grep -q '^' ; then
git commit -m "Update upstream version to ${VERSION}"
git push
else