aboutsummaryrefslogtreecommitdiff
path: root/docs/release_script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release_script.sh')
-rwxr-xr-xdocs/release_script.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/release_script.sh b/docs/release_script.sh
index 4573551..bd167b5 100755
--- a/docs/release_script.sh
+++ b/docs/release_script.sh
@@ -125,7 +125,8 @@ git commit -m 'Prepare release '"$newversion"'
[no changelog]'
echo Tagging release commit
git tag "$newversion"
-releasenotes="$basedir/build/releasenotes.md"
+mkdir -p "$basedir/.gradle"
+releasenotes="$basedir/.gradle/releasenotes.md"
echo Building release notes
echo "**Full Changelog**: https://github.com/nea89o/Firmament/compare/$oldversion...$newversion" > "$releasenotes"
@@ -133,6 +134,13 @@ echo >> "$releasenotes"
git log --pretty='- %s' --grep '[no changelog]' --invert-grep --fixed-strings "$oldversion..$newversion" | tac >> "$releasenotes"
echo >> "$releasenotes"
+echo Check Release notes:
+echo ----------------------------------------------
+cat "$releasenotes"
+echo ----------------------------------------------
+echo Press Enter to resume
+read
+
echo Building JAR
"$basedir"/gradlew clean build