Skip to content

Commit 49b3816

Browse files
committed
[skip ci] build forge as part of build reproducibility
1 parent 2e2b149 commit 49b3816

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

etc/bin/test-reproducible-builds.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ cd grails-gradle
3434
./gradlew build --rerun-tasks -PskipTests --no-build-cache
3535
cd ..
3636
./gradlew build --rerun-tasks -PskipTests --no-build-cache
37+
cd grails-forge
38+
./gradlew build --rerun-tasks -PskipTests --no-build-cache
39+
cd ..
3740
"${SCRIPT_DIR}/generate-build-artifact-hashes.groovy" > "${SCRIPT_DIR}/results/first.txt"
3841
mkdir -p "${SCRIPT_DIR}/results/first"
3942
find . -path ./etc -prune -o -type f -path '*/build/libs/*.jar' -print0 | xargs -0 cp --parents -t "${SCRIPT_DIR}/results/first/"

etc/bin/verify-reproducible.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ cd grails-gradle
6262
./gradlew publishToMavenLocal --rerun-tasks -PskipTests --no-build-cache
6363
cd ..
6464
./gradlew publishToMavenLocal --rerun-tasks -PskipTests --no-build-cache
65+
cd grails-forge
66+
./gradlew publishToMavenLocal --rerun-tasks -PskipTests --no-build-cache
67+
cd ..
6568
echo "Generating Checksums for Built Jars"
6669
"${SCRIPT_DIR}/generate-build-artifact-hashes.groovy" "${DOWNLOAD_LOCATION}/grails" > "${DOWNLOAD_LOCATION}/grails/etc/bin/results/second.txt"
6770
if [ -e "${DOWNLOAD_LOCATION}/grails/etc/bin/results/second.txt" ] && [ ! -s "${DOWNLOAD_LOCATION}/grails/etc/bin/results/second.txt" ]; then

0 commit comments

Comments
 (0)