Skip to content

Commit

Permalink
simplifying committing of changed versioned files
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDanger committed Jan 10, 2018
1 parent 58c37c6 commit 021303a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/bump_version
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

main() {
set -euo pipefail # Bash safemode

local version=$1
if [[ -z "${version}" ]]; then
echo "USAGE: $0 1.3.2"
Expand All @@ -15,7 +17,7 @@ main() {

git checkout -b version-${version}
# Commit the new version
git commit setup.py moto/__init__.py -m "bumping to version ${version}"
git commit -a -m "bumping to version ${version}"
# Commit an updated IMPLEMENTATION_COVERAGE.md
make implementation_coverage || true
# Open a PR
Expand Down

0 comments on commit 021303a

Please sign in to comment.