Skip to content

Commit

Permalink
Bump version to 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paulRbr committed May 10, 2020
1 parent 29ac02b commit a197c85
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ------------------
# ANSIBLE-MAKEFILE v0.14.0
# ANSIBLE-MAKEFILE v0.15.0
# Run ansible commands with ease
# ------------------
#
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.14.0
0.15.0
2 changes: 1 addition & 1 deletion ansible-make
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# ------------------
# ANSIBLE-MAKEFILE v0.14.0
# ANSIBLE-MAKEFILE v0.15.0
# Run ansible commands with ease
# ------------------
#
Expand Down
17 changes: 17 additions & 0 deletions bump.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

set -eo pipefail

current_version=$(cat VERSION)
bump_version=${1}

if [ -n "${bump_version}" ]
then
echo "Bumping version from ${current_version} to ${bump_version}..."
find . -maxdepth 1 -type f -exec sed -i "s|${current_version}|${bump_version}|" {} \;
printf "\\033[32mDONE!\\033[0m ✔️\\n"
echo "Bye 👋"
else
echo "Usage: ${0} <new_version>"
exit 1
fi

0 comments on commit a197c85

Please sign in to comment.