Skip to content

Commit

Permalink
πŸ”– From prod β†’ Bump version: v1.0.17-prod into main (#27)
Browse files Browse the repository at this point in the history
Automatically created pull request for release v1.0.17-prod into main
branch.
  • Loading branch information
JuanVilla424 authored Oct 27, 2024
2 parents b73a04f + e8880bf commit 5dc734c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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.13
current_version = 1.0.17
commit = True
tag = False

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
const head = '${{ steps.determine_branch.outputs.current_branch }}';
const base = '${{ steps.determine_branch.outputs.next_branch }}';
const version = '${{ steps.create_tag.outputs.tag_name }}';
const title = `From ${head} β†’ Bump version: ${version} into ${base}`;
const title = `πŸ”– From ${head} β†’ Bump version: ${version} into ${base}`;
const body = `Automatically created pull request for release ${version} into ${base} branch.`;
const { data: existingPRs } = await github.rest.pulls.list({
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.13"
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.13"]
requires = ["poetry-core>=1.0.17"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 5dc734c

Please sign in to comment.