Skip to content

Commit f88784b

Browse files
committed
Merge branch '7.1.x' into 8.0.x
2 parents 75e5ff6 + 1b67ebd commit f88784b

File tree

231 files changed

+4640
-871
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+4640
-871
lines changed

.github/scripts/releaseDistributions.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,24 @@
1919
# under the License.
2020
#
2121

22-
# ./releaseDistributions.sh <tag> <username> <password>
22+
# ./releaseDistributions.sh <tag> <svn_folder> <username>
2323

2424
set -euo pipefail
2525

2626
if [[ $# -ne 3 ]]; then
27-
echo "Usage: $0 <tag> <username> <password>" >&2
27+
echo "Usage: $0 <tag> <svn_folder> <username>" >&2
2828
exit 1
2929
fi
3030

3131
RELEASE_TAG="$1"
3232
RELEASE_VERSION="${RELEASE_TAG#v}"
33-
SVN_USER="$2"
34-
SVN_PASS="$3"
35-
RELEASE_ROOT="https://dist.apache.org/repos/dist/release/grails/core"
36-
DEV_ROOT="https://dist.apache.org/repos/dist/dev/grails/core"
33+
SVN_FOLDER="$2"
34+
SVN_USER="$3"
35+
RELEASE_ROOT="https://dist.apache.org/repos/dist/release/grails/${SVN_FOLDER}"
36+
DEV_ROOT="https://dist.apache.org/repos/dist/dev/grails/${SVN_FOLDER}"
37+
38+
read -r -s -p "Password: " SVN_PASS
39+
echo
3740

3841
if [[ -z "${RELEASE_TAG}" ]]; then
3942
echo "❌ ERROR: Release Tag must not be empty." >&2

.github/scripts/releaseJarFiles.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,20 @@
1919
# under the License.
2020
#
2121

22-
# ./releaseJarFiles.sh <staging repo description> <username> <password>
22+
# ./releaseJarFiles.sh <staging repo description> <username>
2323

2424
set -euo pipefail
2525

26-
if [[ $# -ne 3 ]]; then
27-
echo "Usage: $0 <staging repo description> <username> <password>" >&2
26+
if [[ $# -ne 2 ]]; then
27+
echo "Usage: $0 <staging repo description> <username>" >&2
2828
exit 1
2929
fi
3030

3131
NEXUS_URL="https://repository.apache.org"
3232
STAGING_DESCRIPTION="$1"
3333
NEXUS_USER="$2"
34-
NEXUS_PASS="$3"
34+
read -r -s -p "Password: " NEXUS_PASS
35+
echo
3536

3637
if [[ -z "${STAGING_DESCRIPTION}" ]]; then
3738
echo "ERROR: Staging Description must not be empty." >&2

.github/vote_templates/announce.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
The Apache Grails community is pleased to announce the release of Apache Grails ${VERSION}.
1+
The Apache Grails community is pleased to announce the release of ${PROJECT_NAME} ${VERSION}.
22

3-
Grails is a powerful Groovy-based web application framework for the JVM built on top of Spring Boot that has many plugins to further extend its functionality.
4-
5-
This release another milestone on our journey to a final 7.0 release. Users are encouraged to try the milestone to provide early feedback. Detailed upgrade instructions are available here: https://grails.apache.org/docs/${VERSION}/guide/upgrading.html
3+
${PROJECT_DESC}
64

75
The release notes are available here:
8-
<blog post link>
6+
https://github.com/${REPO_SLUG}/releases/tag/${TAG}
97

108
For the complete list of changes:
11-
https://github.com/apache/grails-core/compare/v${PREVIOUS_VERSION}...v${VERSION}
9+
https://github.com/${REPO_SLUG}/compare/v<PREVIOUS_VERSION>...${TAG}
1210

1311
Apache Grails website: https://grails.apache.org/
1412

1513
Download Links: https://grails.apache.org/download.html
1614

1715
Grails Resources:
18-
- Grails GitHub repo: https://github.com/apache/grails-core
19-
- Issues: https://github.com/apache/grails-core/issues
16+
- Grails GitHub repo: https://github.com/${REPO_SLUG}
17+
- Issues: https://github.com/${REPO_SLUG}/issues
2018
- Mailing lists: https://grails.apache.org/community.html
2119

2220
Happy Coding,

.github/vote_templates/staged.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Hi Everyone,
22

3-
I am happy to start the VOTE thread for an Apache Grails release of version ${VERSION}!
3+
I am happy to start the VOTE thread to release ${PROJECT_NAME} ${VERSION}!
44

55

66
Please note the following build reproducibility issues for this release:
@@ -13,20 +13,20 @@ Pre-release discussion thread is here:
1313
<Thread Link>
1414

1515
Release notes for the release are here:
16-
https://github.com/apache/grails-core/releases/tag/v${VERSION}
16+
https://github.com/${REPO_SLUG}/releases/tag/${TAG}
1717

1818
The tag for this release is:
19-
https://github.com/apache/grails-core/releases/tag/v${VERSION}
20-
Tag commit id: ${VERSION_COMMIT_ID}
19+
https://github.com/${REPO_SLUG}/releases/tag/${TAG}
20+
Tag commit id: ${SHA}
2121

2222
The artifacts to be voted on are located as follows (r${DIST_SVN_REVISION}):
23-
Source release: https://dist.apache.org/repos/dist/dev/grails/core/${VERSION}/sources
24-
Binary distributions: https://dist.apache.org/repos/dist/dev/grails/core/${VERSION}/distribution
23+
Source release: https://dist.apache.org/repos/dist/dev/${SVN_PROJECT}/${SVN_FOLDER}/${VERSION}/sources
24+
Binary distributions: https://dist.apache.org/repos/dist/dev/${SVN_PROJECT}/${SVN_FOLDER}/${VERSION}/distribution
2525

2626
Release artifacts are signed with a key from the following file:
2727
https://dist.apache.org/repos/dist/release/grails/KEYS
2828

29-
Please vote on releasing this package as: Apache Grails ${VERSION}.
29+
Please vote on releasing this package as: ${PROJECT_NAME} ${VERSION}.
3030

3131
Reminder on ASF release approval requirements for PMC members:
3232
https://www.apache.org/legal/release-policy.html#release-approval
@@ -36,14 +36,14 @@ https://www.apache.org/info/verification.html
3636

3737
Details of our release process are documented at: https://github.com/apache/grails-core/blob/HEAD/RELEASE.md
3838

39-
As a reminder, most of our tools support an env `GRAILS_REPO_URL` so that the tools can be used from the staging location. Set it to the staging repo like this: `export GRAILS_REPO_URL=https://repository.apache.org/content/groups/staging`
39+
As a reminder, most of our tools support an env `GRAILS_REPO_URL` so that the tools can work with staged artefacts. Set it to the staging repo like this: `export GRAILS_REPO_URL=https://repository.apache.org/content/groups/staging`
4040

4141
The vote is open for a minimum of 72 hours and passes if a majority of at least
4242
three +1 PMC votes are cast.
4343

44-
[ ] +1 Release Apache Grails ${VERSION}
44+
[ ] +1 Release ${PROJECT_NAME} ${VERSION}
4545
[ ] 0 I don't have a strong opinion about this, but I assume it's ok
46-
[ ] -1 Do not release Apache Grails ${VERSION} because...
46+
[ ] -1 Do not release ${PROJECT_NAME} ${VERSION} because...
4747

4848
Here is my vote:
4949

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
The vote has passed with <X> +1 binding votes and <Y> +1 additional votes.
2+
3+
<IF NEW EMAIL>
4+
Vote thread: <VOTE THREAD PERMALINK>
5+
</IF NEW EMAIL>
6+
7+
I'll proceed with the release and announce it shortly.
8+
9+
Thanks to everyone who participated in the vote!
10+
11+
Regards
12+
<NAME>

0 commit comments

Comments
 (0)