Skip to content

Commit

Permalink
v0.7.0 (#21)
Browse files Browse the repository at this point in the history
* Script to partially automate release.

* Bump version.
  • Loading branch information
aaronbembenek authored Dec 27, 2023
1 parent 0fb1778 commit d6b60a9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions make_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env bash

# This script is used to partially automate the release process. You still need
# to update the version number in `pom.xml`.

set -e

script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$script_dir"

git checkout master
# Make sure code builds
mvn package
# Make sure all files have licenses
mvn license:update-file-header
# Make sure code is formatted consistently
mvn com.spotify.fmt:fmt-maven-plugin:format
# Generate Javadocs
mvn javadoc:javadoc
git add src
git commit -allow-empty -m "Release commit."

# Update the Javadocs on the website
git checkout gh-pages
rm -rf apidocs
cp -r target/site/apidocs .
git add apidocs
git commit –allow-empty -m "Update Javadocs."
git push
git checkout master
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.harvard.seas.pl</groupId>
<artifactId>AbcDatalog</artifactId>
<version>0.6.0</version>
<version>0.7.0</version>
<name>AbcDatalog</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit d6b60a9

Please sign in to comment.