Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.14
current_version = 1.0.17
commit = True
tag = False

Expand Down
4 changes: 2 additions & 2 deletions commit_msg_version_bump/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def amend_commit(new_commit_msg: str) -> None:
subprocess.run(["git", "commit", "--amend", "-m", new_commit_msg], check=True)
logger.info("Successfully amended the commit with the new version bump.")
logger.info(
"Please perform a force push using 'git push --force' to update the remote repository."
"Please perform a force push using 'git push' to update the remote repository. Avoid use --force"
)
except subprocess.CalledProcessError as e:
logger.error(f"Failed to amend the commit: {e}")
Expand Down Expand Up @@ -283,7 +283,7 @@ def main() -> None:
amend_commit(updated_commit_msg)

logger.info(
"Aborting the current push. Please perform a force push using 'git push --force'."
"Aborting the current push. Please perform a force push using 'git push'. Avoid use --force"
)
sys.exit(1)
else:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "scripts"
version = "1.0.14"
version = "1.0.17"
description = "CICD Core Scripts"
authors = ["B <[email protected]>"]
license = "Apache 2.0"
Expand Down Expand Up @@ -71,5 +71,5 @@ ensure_newline_before_comments = true
rcfile = ".pylintrc"

[build-system]
requires = ["poetry-core>=1.0.14"]
requires = ["poetry-core>=1.0.17"]
build-backend = "poetry.core.masonry.api"