Compare commits

...
9 changed files with 45 additions and 21 deletions
+26 -2
View File
@@ -168,12 +168,36 @@ jobs:
- name: "Build"
run: mvn clean install -B ${{ matrix.suite }}
publish:
name: "Publish artifacts"
check_version:
name: "Check version"
runs-on: ubuntu-latest
needs: [tests]
if: >
contains(github.event.head_commit.message, '[publish]')
outputs:
is_ga: ${{ steps.publish_version.outputs.is_ga }}
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- name: "Check version"
id: publish_version
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "is_ga=true" >> $GITHUB_OUTPUT
echo "GA version detected: $VERSION"
else
echo "is_ga=false" >> $GITHUB_OUTPUT
echo "Non GA version detected: $VERSION"
fi
publish:
name: "Publish artifacts"
runs-on: ubuntu-latest
needs: [tests, check_version]
if: >
contains(github.event.head_commit.message, '[publish]') && needs.check_version.outputs.is_ga == 'true'
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
@@ -11,7 +11,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.13.0-A1</version>
<version>4.13.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -54,4 +54,4 @@
</plugins>
</build>
</project>
</project>
@@ -5,8 +5,8 @@
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${version}</version>
<name>AIO - SDK 4.13.0-A1</name>
<description>All-In-One (AIO) project for SDK 4.13.0-A1</description>
<name>AIO - SDK 4.13.0</name>
<description>All-In-One (AIO) project for SDK 4.13.0</description>
<packaging>pom</packaging>
<prerequisites>
@@ -487,4 +487,4 @@
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>
</project>
@@ -12,7 +12,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.13.0-A1</version>
<version>4.13.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -55,4 +55,4 @@
</plugins>
</build>
</project>
</project>
@@ -14,7 +14,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.13.0-A1</version>
<version>4.13.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -57,4 +57,4 @@
</plugins>
</build>
</project>
</project>
+2 -2
View File
@@ -17,7 +17,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.13.0-A1</version>
<version>4.13.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -84,4 +84,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
+2 -2
View File
@@ -10,7 +10,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.13.0-A1</version>
<version>4.13.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@@ -49,4 +49,4 @@
</dependency>
</dependencies>
</project>
</project>
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.13.0-A1</version>
<version>4.13.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
+5 -5
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-aggregator</artifactId>
<version>4.13.0-A1</version>
<version>4.13.0</version>
<name>Alfresco SDK</name>
<description>This aggregator Project builds all modules required for the Alfresco SDK</description>
<packaging>pom</packaging>
@@ -30,7 +30,7 @@
<connection>scm:git:${scm.url.base}.git</connection>
<developerConnection>scm:git:${scm.url.base}</developerConnection>
<url>${scm.url.base}</url>
<tag>alfresco-sdk-aggregator-4.13.0-A1</tag>
<tag>alfresco-sdk-aggregator-${project.version}</tag>
</scm>
<!-- All the modules of the Alfresco SDK -->
@@ -56,9 +56,9 @@
<alfresco.sdk.tests.exclude>*/*-enterprise*/*</alfresco.sdk.tests.exclude>
<alfresco.bomDependency.artifactId>acs-community-packaging</alfresco.bomDependency.artifactId>
<alfresco.platform.version>25.3.0-A.8</alfresco.platform.version>
<alfresco.platform.version>25.3.0-A.15</alfresco.platform.version>
<alfresco.platform.docker.user>alfresco</alfresco.platform.docker.user>
<alfresco.share.docker.version>25.3.0-A.8</alfresco.share.docker.version>
<alfresco.share.docker.version>25.3.0-A.15</alfresco.share.docker.version>
<!--
The following value is now obtained by looking at the
- alfresco-community-share.version (eg. https://github.com/Alfresco/acs-community-packaging/blob/25.1.0/pom.xml#L17)
@@ -66,7 +66,7 @@
- alfresco-enterprise-share.version (eg. https://github.com/Alfresco/acs-packaging/blob/25.1.0/pom.xml#L18)
for the GitHub Tag related to the above Docker version.
-->
<alfresco.share.version>25.3.0.25</alfresco.share.version>
<alfresco.share.version>25.3.0.36</alfresco.share.version>
<alfresco.platform.docker.image>alfresco/alfresco-content-repository-community</alfresco.platform.docker.image>
<alfresco.share.docker.image>alfresco/alfresco-share</alfresco.share.docker.image>
<keystore.settings>