Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.797 kb
#!/bin/bash
# finish the release after updating release notes
if [[ $# -lt 1 ]]; then
echo "usage: $(basename $0) new-version" >&2
exit 1
fi
version=$1
echo "finish release of $version"
echo -n "commiting project.clj, release notes and readme. enter to continue:" \
&& read x \
&& git add project.clj ReleaseNotes.md README.md src/main/elisp/slime-ritz.el \
lein-ritz/project.clj lein-ritz/src/leiningen/ritz.clj \
&& git commit -m "Updated project.clj, release notes and readme for $version" \
&& echo -n "Peform release. enter to continue:" && read x \
&& lein2 test \
&& lein2 jar, pom \
&& git flow release finish $version \
&& scp target/ritz-${version}.jar target/pom.xml clojars: \
&& bash build-elpa-package.sh \
&& echo "Now push and upload to github and marmalade"
Jump to Line
Something went wrong with that request. Please try again.