Skip to content

Commit

Permalink
Version bump + updated release checklist (#175)
Browse files Browse the repository at this point in the history
* Version bump + updated release checklist to take into account unreleased clojars

* Added echoes to pre- and post-release steps
  • Loading branch information
anthony-khong authored Aug 26, 2020
1 parent c2e0f14 commit eea20f8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ or spin up a REPL by running `lein repl` and run:
- `lein-template`'s `project.clj`;
- `lein-template`'s `resources/.../project.clj`; and
- `resources/GENI_REPL_RELEASED_VERSION`.
- Ensure that the CI steps pass with `make ci`.
- Ensure that the pre-release CI steps pass with `make pre-release`.
- Deploy the main library with `lein deploy clojars`.
- Ensure that the post-release CI steps pass with `make post-release`.
- Push the newly built container to DockerHub with `make docker-push`.
- Merge the library version-bump branch.
- Create a new release on GitHub with a summary of all the changes and the new uberjar uploaded.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,11 @@ test-install-geni-cli: build
docker run --rm -v $(TMP):/root/geni -w /root/geni -t $(DOCKERNAME) \
scripts/test-install-geni-cli

ci: coverage test-install-geni-cli test-geni-cli test-lein-template lint-ancient
ci: coverage test-install-geni-cli test-geni-cli test-lein-template lint-ancient
echo "CI steps passed!"

pre-release: coverage test-install-geni-cli test-geni-cli lint-ancient
echo "Pre-release steps passed!"

post-release: test-lein-template
echo "Post-release steps passed!"
2 changes: 1 addition & 1 deletion docker/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
[ml.dmlc/xgboost4j-spark_2.12 "1.0.0"]
[ml.dmlc/xgboost4j_2.12 "1.0.0"]])

(defproject zero.one/geni "0.0.23"
(defproject zero.one/geni "0.0.24"
:jvm-opts ["-Duser.country=US" "-Duser.language=en"]
:description "A Clojure library that wraps Apache Spark"
:url "https://github.com/zero-one-group/geni"
Expand Down
2 changes: 1 addition & 1 deletion lein-template/project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject geni/lein-template "0.0.23"
(defproject geni/lein-template "0.0.24"
:description "Leiningen template for a Geni application."
:url "https://github.com/zero-one-group/geni/tree/develop/lein-template"
:license {:name "Apache License"
Expand Down
2 changes: 1 addition & 1 deletion lein-template/resources/leiningen/new/geni/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.1"]
[zero.one/geni "0.0.23"]
[zero.one/geni "0.0.24"]
;; REPL
[nrepl "0.8.0"]
[reply "0.4.4"]
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
[ml.dmlc/xgboost4j-spark_2.12 "1.0.0"]
[ml.dmlc/xgboost4j_2.12 "1.0.0"]])

(defproject zero.one/geni "0.0.23"
(defproject zero.one/geni "0.0.24"
:jvm-opts ["-Duser.country=US" "-Duser.language=en"]
:description "A Clojure library that wraps Apache Spark"
:url "https://github.com/zero-one-group/geni"
Expand Down
2 changes: 1 addition & 1 deletion resources/GENI_REPL_RELEASED_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.23
0.0.24

0 comments on commit eea20f8

Please sign in to comment.