Skip to content

Commit

Permalink
bin/create-release.sh: also check the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 15, 2018
1 parent 96e687d commit 88426a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd $SCRIPT_DIR/..

version=${1:-}
if [[ -z "$version" ]]; then
echo "USUAGE: $0 version" 2>/dev/null
echo "USAGE: $0 version" 2>/dev/null
exit 1
fi

Expand All @@ -18,6 +18,7 @@ fi

sed -i -e "s!version=\".*\"!version=\"${version}\"!" setup.py
git add setup.py
nix-build default.nix
git commit -m "bump version ${version}"
git tag "${version}"

Expand Down

0 comments on commit 88426a7

Please sign in to comment.