Skip to content

Commit

Permalink
Change: Use for automatic adjustments after a release
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself authored and bjoernricks committed Mar 4, 2024
1 parent 5c5190a commit 9880c74
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion pontos/release/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async def async_run( # type: ignore[override]
# check if files have been modified and create a commit
status = list(self.git.status())
if status:
commit_msg = f"""Automatic adjustments after release
commit_msg = f"""Automatic adjustments after release [skip ci]
* Update to version {next_version}
"""
Expand Down
36 changes: 18 additions & 18 deletions tests/release/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def test_release_version(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 1.0.0.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -338,7 +338,7 @@ def test_release_with_repository(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 1.0.0.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -442,7 +442,7 @@ def test_initial_release_version(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 1.0.1.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -554,7 +554,7 @@ def test_release_patch(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 1.0.0.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -666,7 +666,7 @@ def test_release_calendar(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
f"* Update to version {next_version}\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -780,7 +780,7 @@ def test_release_minor(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.1.1.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -892,7 +892,7 @@ def test_release_major(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 1.0.1.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -1002,7 +1002,7 @@ def test_release_alpha(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.2a2.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -1114,7 +1114,7 @@ def test_release_beta(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.2b2.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -1226,7 +1226,7 @@ def test_release_release_candidate(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.2rc2.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -1853,7 +1853,7 @@ def test_release_to_specific_git_remote(

git_instance_mock.add.assert_called_with(Path("MyProject.conf"))
git_instance_mock.commit.assert_called_with(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.2.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -1950,7 +1950,7 @@ def test_release_without_git_prefix(

git_instance_mock.add.assert_called_with(Path("MyProject.conf"))
git_instance_mock.commit.assert_called_with(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.2.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -2049,7 +2049,7 @@ def test_release_github_api(

git_instance_mock.add.assert_called_with(Path("MyProject.conf"))
git_instance_mock.commit.assert_called_with(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.2.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -2148,7 +2148,7 @@ def test_release_github_api_pre_release(

git_instance_mock.add.assert_called_with(Path("MyProject.conf"))
git_instance_mock.commit.assert_called_with(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.1a1+dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -2204,7 +2204,7 @@ def test_release_with_go_project(
GoVersionCommand.version_file_path
)
git_instance_mock.commit.assert_called_with(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.3.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -2349,7 +2349,7 @@ def test_release_with_changelog(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 1.0.0.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -2436,7 +2436,7 @@ def test_release_local(

git_instance_mock.add.assert_called_with(Path("MyProject.conf"))
git_instance_mock.commit.assert_called_with(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 0.0.2.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down Expand Up @@ -2540,7 +2540,7 @@ def test_release_enforce_github_release(
gpg_signing_key="1234",
),
call(
"Automatic adjustments after release\n\n"
"Automatic adjustments after release [skip ci]\n\n"
"* Update to version 1.0.0.dev1\n",
verify=False,
gpg_signing_key="1234",
Expand Down

0 comments on commit 9880c74

Please sign in to comment.