From 6780dd7f688a98ddd5f93866cdcd0c5d958d4396 Mon Sep 17 00:00:00 2001 From: B Date: Sun, 27 Oct 2024 11:33:50 -0500 Subject: [PATCH 1/4] chore(core): test version controller [patch candidate] --- .github/workflows/version-controller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version-controller.yml b/.github/workflows/version-controller.yml index 5724989..5df11a3 100644 --- a/.github/workflows/version-controller.yml +++ b/.github/workflows/version-controller.yml @@ -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({ From 348d5b55babd48d91df30ccc903faf0646da6a82 Mon Sep 17 00:00:00 2001 From: B Date: Sun, 27 Oct 2024 11:34:06 -0500 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=94=A7=20Bump=20version:=201.0.13=20?= =?UTF-8?q?=E2=86=92=201.0.14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index ac647bb..44cee3c 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.13 +current_version = 1.0.14 commit = True tag = False diff --git a/pyproject.toml b/pyproject.toml index 16e97b5..7389f0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scripts" -version = "1.0.13" +version = "1.0.14" description = "CICD Core Scripts" authors = ["B "] license = "Apache 2.0" @@ -71,5 +71,5 @@ ensure_newline_before_comments = true rcfile = ".pylintrc" [build-system] -requires = ["poetry-core>=1.0.13"] +requires = ["poetry-core>=1.0.14"] build-backend = "poetry.core.masonry.api" From 69fe1a3fa97b108276f7a2ae16d18b8ea8a36343 Mon Sep 17 00:00:00 2001 From: B Date: Sun, 27 Oct 2024 11:42:57 -0500 Subject: [PATCH 3/4] chore(core): test icons flow [patch candidate] --- .bumpversion.cfg | 2 +- commit_msg_version_bump/main.py | 4 ++-- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 44cee3c..cb5516d 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.14 +current_version = 1.0.16 commit = True tag = False diff --git a/commit_msg_version_bump/main.py b/commit_msg_version_bump/main.py index e8f2919..0a7f37d 100644 --- a/commit_msg_version_bump/main.py +++ b/commit_msg_version_bump/main.py @@ -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}") @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 7389f0b..b167968 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scripts" -version = "1.0.14" +version = "1.0.16" description = "CICD Core Scripts" authors = ["B "] license = "Apache 2.0" @@ -71,5 +71,5 @@ ensure_newline_before_comments = true rcfile = ".pylintrc" [build-system] -requires = ["poetry-core>=1.0.14"] +requires = ["poetry-core>=1.0.16"] build-backend = "poetry.core.masonry.api" From a5b271f1adaf064ac5d21d5e0ec48a20ec625517 Mon Sep 17 00:00:00 2001 From: B Date: Sun, 27 Oct 2024 11:43:13 -0500 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=94=A7=20Bump=20version:=201.0.16=20?= =?UTF-8?q?=E2=86=92=201.0.17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index cb5516d..2be3cc8 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.16 +current_version = 1.0.17 commit = True tag = False diff --git a/pyproject.toml b/pyproject.toml index b167968..d828076 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scripts" -version = "1.0.16" +version = "1.0.17" description = "CICD Core Scripts" authors = ["B "] license = "Apache 2.0" @@ -71,5 +71,5 @@ ensure_newline_before_comments = true rcfile = ".pylintrc" [build-system] -requires = ["poetry-core>=1.0.16"] +requires = ["poetry-core>=1.0.17"] build-backend = "poetry.core.masonry.api"