Skip to content

Commit 5dc734c

Browse files
authored
πŸ”– From prod β†’ Bump version: v1.0.17-prod into main (#27)
Automatically created pull request for release v1.0.17-prod into main branch.
2 parents b73a04f + e8880bf commit 5dc734c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

β€Ž.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.0.13
2+
current_version = 1.0.17
33
commit = True
44
tag = False
55

β€Ž.github/workflows/version-controller.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
const head = '${{ steps.determine_branch.outputs.current_branch }}';
106106
const base = '${{ steps.determine_branch.outputs.next_branch }}';
107107
const version = '${{ steps.create_tag.outputs.tag_name }}';
108-
const title = `From ${head} β†’ Bump version: ${version} into ${base}`;
108+
const title = `πŸ”– From ${head} β†’ Bump version: ${version} into ${base}`;
109109
const body = `Automatically created pull request for release ${version} into ${base} branch.`;
110110
111111
const { data: existingPRs } = await github.rest.pulls.list({

β€Žcommit_msg_version_bump/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def amend_commit(new_commit_msg: str) -> None:
238238
subprocess.run(["git", "commit", "--amend", "-m", new_commit_msg], check=True)
239239
logger.info("Successfully amended the commit with the new version bump.")
240240
logger.info(
241-
"Please perform a force push using 'git push --force' to update the remote repository."
241+
"Please perform a force push using 'git push' to update the remote repository. Avoid use --force"
242242
)
243243
except subprocess.CalledProcessError as e:
244244
logger.error(f"Failed to amend the commit: {e}")
@@ -283,7 +283,7 @@ def main() -> None:
283283
amend_commit(updated_commit_msg)
284284

285285
logger.info(
286-
"Aborting the current push. Please perform a force push using 'git push --force'."
286+
"Aborting the current push. Please perform a force push using 'git push'. Avoid use --force"
287287
)
288288
sys.exit(1)
289289
else:

β€Žpyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "scripts"
3-
version = "1.0.13"
3+
version = "1.0.17"
44
description = "CICD Core Scripts"
55
authors = ["B <[email protected]>"]
66
license = "Apache 2.0"
@@ -71,5 +71,5 @@ ensure_newline_before_comments = true
7171
rcfile = ".pylintrc"
7272

7373
[build-system]
74-
requires = ["poetry-core>=1.0.13"]
74+
requires = ["poetry-core>=1.0.17"]
7575
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
Β (0)