Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit c285b6d

Browse files
author
DaRacci
committed
refactor(script): build with version in pre-bump
1 parent b5af5c8 commit c285b6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/post-bump.sh

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ fi
1515

1616
git push || exit 1
1717

18-
./gradlew clean build test
19-
2018
URL="https://github.com/DaRacci/Minix/compare/v$1..v$2"
2119
grep -Poz "(?s)(?<=## \\[v$2\\]\\(${URL}\\) - ....-..-..\n).*?(?=- - -)" CHANGELOG.md >> ./.templog.md
2220
head -n -1 .templog.md > .temp ; mv .temp .templog.md # Remove that weird null line

scripts/pre-bump.sh

+2
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ sed -i "s/version=.*/version=$2/" ./gradle.properties
1616
# Add the modified properties file to the version change commit
1717
git add gradle.properties
1818

19+
gradle clean build -Pversion="${2}"
20+
1921
echo "Bumping from v${1} to v${2}!"

0 commit comments

Comments
 (0)