Skip to content

Commit

Permalink
Message in bin/release.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Apr 15, 2021
1 parent b00cdf2 commit 79a4742
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Leiningen News -- history of user-visible changes

## 2.9.6 / ???
## 2.9.6 / 2021-04-15

* Look for templates in a way that reflects new Clojars group rules. (Phil Hagelberg)
* Update template-generating template to reflect new Clojars rules. (Phil Hagelberg)
Expand Down
8 changes: 8 additions & 0 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

set -e -u

if [ "$1" = "" ]; then
echo "usage: $0 VERSION"
exit 1
fi

RELEASE_VERSION=$1
CURRENT_VERSION="$RELEASE_VERSION-SNAPSHOT"

Expand All @@ -27,10 +32,13 @@ rm -rf $HOME/.lein/self-installs/leiningen-$RELEASE_VERSION-standalone.jar

LEIN_ROOT=$PWD

echo "Bootstrapping..."
cd leiningen-core
lein-stable do clean, bootstrap
cd ..

echo "Generating uberjar..."

bin/lein uberjar
RELEASE_JAR=$PWD/target/leiningen-$RELEASE_VERSION-standalone.jar
RELEASE_JAR_CHECKSUM="$(sha256sum $RELEASE_JAR | awk '{ print $1 }')"
Expand Down

0 comments on commit 79a4742

Please sign in to comment.