more release prep, minor release script documentation updates

This commit is contained in:
Alex O'Ree 2022-05-14 10:33:03 -04:00
parent 30287b8fc7
commit 32d2fdddff
2 changed files with 19 additions and 16 deletions

View file

@ -7,11 +7,11 @@ osmdroid is a (almost) full/free replacement for Android's MapView (v1 API) clas
<a href="https://play.google.com/store/apps/details?id=org.osmdroid">
<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on F-Droid" height="90"></a>
Current Release: **6.1.11 Aug 01, 2021**
Current Release: **6.1.12 May 14, 2022**
Current Development version: 6.1.12-SNAPSHOT
Current Development version: 6.1.13-SNAPSHOT
Next Release Version (planned): 6.1.12
Next Release Version (planned): 6.1.13
Note: check your calendar, it may take up to a few days for all global mirrors to update.
@ -139,6 +139,7 @@ The [OSMBonusPack project](https://github.com/MKergall/osmbonuspack) adds additi
JDK11+ is required
Gradle 7.4.2 is what we are currently using
Android Studio Bumblebee
(latest supported configuration as of May 2022)
```
./gradlew clean build
@ -152,6 +153,7 @@ Or just open Android studio.
JDK11+ is required
Gradle 7.4.2 is what we are currently using
(latest supported configuration as of May 2022)
We recommend building from the command line.

View file

@ -1,17 +1,25 @@
@echo off
rem serious gradle + android is just crap
echo BE SURE TO USE JDK11
echo Gradle does not honor exit codes and this script cannot detect
echo a gradle build failure. Watch the output!
rem seriously gradle + android is just crap
rem it may be fast and less verbose, but it's crap
rem if you don't agree, make publishing osmdroid to oss.sonatype.org work and i'll forever been in your debt
rem normal build
rem normal build + local publish
call gradlew clean build publishToMavenLocal
rem local publish
rem the release helper does the following
rem copy all the locally published artifacts to a temp folder
rem inject our 'extra' javadoc content when needed
rem fix the poms
rem sign everything with your encrypted password from local.properties
rem hash everything
rem upload to maven central with your encrypted password from local.properties
rem prepare the distzip release artifact to upload to github
cd releaseHelper
call mvn install
if errorlevel 1 goto fail
@ -19,20 +27,13 @@ cd ..
call java -jar releaseHelper\target\releaseHelper-1.0-SNAPSHOT-jar-with-dependencies.jar
if errorlevel 1 goto fail
goto success
rem sign all the artifacts
rem hash all the signatures and artifacts
rem push to sonatype oss
:fail
echo Failure
goto end
exit /b 1
:success
echo Success
goto end
exit /b 0
:end