Skip to content

Commit

Permalink
Update release generation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Mar 1, 2021
1 parent 4fbe499 commit 647d8e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/gen_releasenotes
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ logging.basicConfig(level=logging.CRITICAL)

_LOGGER = logging.getLogger(__name__)

VERSION = "1.1.7"
VERSION = "1.1.8"

ROOT = os.path.dirname(os.path.abspath(f"{__file__}/.."))

Expand Down Expand Up @@ -101,6 +101,7 @@ def gen_changes(repo: Repository, tag: str = None) -> str:
msg = msg.split("\n")[0]
if (
"Bump version" in msg
or "Version bump" in msg
or "Merge branch" in msg
or "Merge tag" in msg
or "Merge pull request" in msg
Expand Down
2 changes: 1 addition & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ new=$(echo "${1}" | sed -E "s/\+.*//")
log.info "Patch files to version '${new}'..."
sed -i -E "s/(^VERSION = \")[^\"]*/\\1${new}/" ${const_path}
./bin/update_manifest
git commit -a --no-verify -m "Version bump"
git commit -a --no-verify -m "Bump version"
git tag -a "$new" -m "v$new"
log.info "Commit tagged as v$new"

Expand Down

0 comments on commit 647d8e1

Please sign in to comment.