-
use Java 9+ for making release
-
ensure that all
pom.xmlfiles list the same version, update them if necessary toyyyy.mm.0-SNAPSHOT(check correct patch level) -
in the
weka-package/Description.propsfile, ensure that the following properties have been updated and aligned with the upcoming version:Version(yyyy.mm.0, check correct patch level)DatePackageURL
-
ensure that all code has been committed/pushed
-
Run the following maven command, which will automatically use the current version present in the
pom.xmlfiles and then increment it after the release has succeeded.mvn --batch-mode release:prepare release:perform -
Log into https://oss.sonatype.org
-
Select Staging Repositories
-
Subsequently Close and then Release the artifacts
-
perform a
git push
-
update the parent version in
release.xmlto the just released version, i.e.,yyyy.mm.0(without the-SNAPSHOTsuffix, check correct patch level) -
execute the following command (top-level directory)
mvn -f release.xml clean package
-
go into the
weka-packagedirectory -
update the parent version in
update_libs.xmlto the just released version, i.e.,yyyy.mm.0(without the-SNAPSHOTsuffix, check correct patch level) -
execute the following command to update libraries in the
libdirectorymvn -f update_libs.xml clean package -
execute the following command (replace
X.Y.Zwith actual version of MOA, egyyyy.mm.0, check correct patch level)ant -f build_package.xml -Dpackage=massiveOnlineAnalysis-X.Y.Z clean make_package
-
create new release tag on Github (tag version
yyyy.mm.0, release titleMOA yy.mm.0) and upload the generated MOA release zip file from the top-leveltargetdirectory and the zip file from theweka-package/targetdirectory -
email Mark Hall (mhall at waikato.ac.nz) the link to the Weka package zip file to upload to the central Weka package repository on Sourceforge.net
-
synchronize the parent version in
release.xmlandupdate_libs.xmlto match the new version in the top-levelpom.xmlfile; this is required to make the snapshots work (jenkins, download); -
ensure that the
YinX.Y.Zis two digits in allpom.xmlfiles,release.xmlandupdate_libs.xml; the automatic increment will strip a leading zero. -
commit/push all changes