Skip to content

Commit

Permalink
Fix release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Dec 8, 2020
1 parent 6bc1065 commit 8080950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ cd ..
bin/lein uberjar
RELEASE_JAR=$PWD/target/leiningen-$RELEASE_VERSION-standalone.jar
RELEASE_JAR_CHECKSUM="$(sha256sum $RELEASE_JAR | awk '{ print $1 }')"
SELF_INSTALL_JAR=$HOME/.lein/self-installs/$RELEASE_JAR
SELF_INSTALL_JAR=$HOME/.lein/self-installs/$(basename $RELEASE_JAR)
cp $RELEASE_JAR $SELF_INSTALL_JAR

sed -i "s/export LEIN_CHECKSUM=.*/export LEIN_CHECKSUM='$RELEASE_JAR_CHECKSUM'/" bin/lein
Expand Down

0 comments on commit 8080950

Please sign in to comment.