Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
modify release script
  • Loading branch information
jakemcc committed Dec 20, 2014
1 parent 02e1bd6 commit 08d4f12
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions autoexpect/bin/release
Expand Up @@ -6,13 +6,6 @@ pushd "$DIR/.." >/dev/null
set -e
set -x

if [ -z "$1" ]; then
echo "Usage: $0 [:major :minor :patch :alpha :beta or :rc]"
exit 1
fi



function version {
grep defproject project.clj | cut -f 3 -d ' ' | sed 's/"//g'
}
Expand All @@ -22,7 +15,7 @@ function project_name {
}


lein do change version leiningen.release/bump-version $1, change version leiningen.release/bump-version release
lein change version leiningen.release/bump-version release
release_version=$(version)
tag_name="$(project_name)-v${release_version}"

Expand Down

0 comments on commit 08d4f12

Please sign in to comment.