diff --git a/CHANGELOG.md b/CHANGELOG.md index d345c30..afe6ff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## [1.0.9] - 2020-10-19 +- Added rf_event_service.py tool for managing event subscriptions and displaying event service information + ## [1.0.8] - 2020-07-10 - Added option to the inventory script to save information to a spreadsheet diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..f96c93b --- /dev/null +++ b/release.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +# Collect change log info +CHANGES="## [$1] - $(date +'%Y-%m-%d')"$'\n' +echo "Enter changes:" +while : ; do + read CHANGE + if [ "$CHANGE" = "" ]; then + break + fi + + CHANGES="$CHANGES- $CHANGE"$'\n' +done + +# Rebase +git checkout master +git fetch && git rebase origin + +# Update the version number in setup.py +sed -i -E 's/ version = .+,/ version = "'$1'",/' setup.py + +# Update the change log file +ex CHANGELOG.md <