mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-06-30 18:14:51 +00:00
parent
284901159d
commit
7c088dc90a
@ -5,15 +5,11 @@ PS4="\[\e[35m\]+ \[\e[m\]"
|
|||||||
set -vex
|
set -vex
|
||||||
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
||||||
|
|
||||||
# For PR builds only execute a Dry Run of the release
|
|
||||||
[ "${PULL_REQUEST}" = "false" ] && DRY_RUN="" || DRY_RUN="-DdryRun"
|
|
||||||
|
|
||||||
# GitHub Actions CI runner work on DETACHED HEAD, so we need to checkout the release branch
|
# GitHub Actions CI runner work on DETACHED HEAD, so we need to checkout the release branch
|
||||||
git checkout -B "${BRANCH_NAME}"
|
git checkout -B "${BRANCH_NAME}"
|
||||||
|
|
||||||
# Run the release plugin - with "[skip ci]" in the release commit message
|
# Run the release plugin - with "[skip ci]" in the release commit message
|
||||||
mvn -B -Dmaven.wagon.http.pool=false \
|
mvn -B -Dmaven.wagon.http.pool=false \
|
||||||
${DRY_RUN} \
|
|
||||||
-Prelease \
|
-Prelease \
|
||||||
"-Darguments=-Prelease -DskipTests -Dmaven.javadoc.skip -Dadditionalparam=-Xdoclint:none" \
|
"-Darguments=-Prelease -DskipTests -Dmaven.javadoc.skip -Dadditionalparam=-Xdoclint:none" \
|
||||||
release:clean release:prepare release:perform \
|
release:clean release:prepare release:perform \
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@ GitHub Actions CI builds differ by branch:
|
|||||||
> - alfresco/alfresco-transform-core-aio
|
> - alfresco/alfresco-transform-core-aio
|
||||||
- if the commit message contains the `[release]` tag, the builds will also
|
- if the commit message contains the `[release]` tag, the builds will also
|
||||||
include the _Release_ stage;
|
include the _Release_ stage;
|
||||||
- PR builds where the latest commit contains the `[release]` tag will execute dry runs
|
|
||||||
of the release jobs (no artifacts will be published until the PR is actually merged).
|
|
||||||
* `ATS-*` / `ACS-*` branches:
|
* `ATS-*` / `ACS-*` branches:
|
||||||
- regular builds which include only the _Build_ and _Tests_ stages;
|
- regular builds which include only the _Build_ and _Tests_ stages;
|
||||||
|
|
||||||
@ -53,11 +51,8 @@ been generated by steps (2) and (3), then an empty commit should be created - e.
|
|||||||
|
|
||||||
> The location of the `[release]` tag in the commit message is irrelevant.
|
> The location of the `[release]` tag in the commit message is irrelevant.
|
||||||
|
|
||||||
> If for any reason your PR contains multiple commits, the commit with the `[release]`
|
|
||||||
tag should be the last (newest) one. This will trigger the Release dry runs.
|
|
||||||
5. Open a new Pull Request from the `ATS-###_release_version` branch into the original
|
5. Open a new Pull Request from the `ATS-###_release_version` branch into the original
|
||||||
`master` / `SP/*` / `HF/*` branch and wait for a green build; the **Release** stage on the PR build
|
`master` / `SP/*` / `HF/*` branch and wait for a green build.
|
||||||
will only execute a _Dry_Run_ of the release.
|
|
||||||
6. Once it is approved, merge the PR, preferably through the **Rebase and merge** option. If the
|
6. Once it is approved, merge the PR, preferably through the **Rebase and merge** option. If the
|
||||||
**Create a merge commit** (_Merge pull request_) or **Squash and merge** options are used, you
|
**Create a merge commit** (_Merge pull request_) or **Squash and merge** options are used, you
|
||||||
need to ensure that the _commit message_ contains the `[release]` tag (sub-string).
|
need to ensure that the _commit message_ contains the `[release]` tag (sub-string).
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-transform-core</artifactId>
|
<artifactId>alfresco-transform-core</artifactId>
|
||||||
<version>3.0.1-SNAPSHOT</version>
|
<version>3.0.1-A1-SNAPSHOT</version>
|
||||||
<name>Alfresco Transform Core</name>
|
<name>Alfresco Transform Core</name>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user