Public Access
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
16ed48bd26 | ||
|
|
3b0500164b | ||
|
|
00a44ec5dc | ||
|
|
b385c57621 |
@@ -23,6 +23,10 @@ on:
|
|||||||
- src/devx/**
|
- src/devx/**
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: build-images
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
detect-type:
|
detect-type:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [0.23.2] - 2026-06-27
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Add skip-ci flag to release commits and concurrency to build-images
|
||||||
|
|
||||||
## [0.23.1] - 2026-06-27
|
## [0.23.1] - 2026-06-27
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
@@ -16,12 +16,12 @@ quality badges.
|
|||||||
|
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/src/branch/master/LICENSE)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/src/branch/master/LICENSE)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/wiki)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/wiki)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/releases)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/releases)
|
||||||
[](https://www.python.org/downloads/)
|
[](https://www.python.org/downloads/)
|
||||||
|
|
||||||
## Why devx?
|
## Why devx?
|
||||||
|
|
||||||
|
|||||||
+6
-6
@@ -12,12 +12,12 @@ project to be reusable across all oblachno-oss repositories.
|
|||||||
|
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/src/branch/master/LICENSE)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/src/branch/master/LICENSE)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/wiki)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/wiki)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/actions)
|
||||||
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/releases)
|
[](https://git.oblachno.oblachno.fyi/oblachno-oss/devx/releases)
|
||||||
[](https://www.python.org/downloads/)
|
[](https://www.python.org/downloads/)
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""devx — reusable development and CI/CD tools for oblachno-oss projects."""
|
"""devx — reusable development and CI/CD tools for oblachno-oss projects."""
|
||||||
|
|
||||||
__version__ = "0.23.1"
|
__version__ = "0.23.2"
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ def commit_release_changes(new_version: str) -> bool:
|
|||||||
if status.returncode == 0:
|
if status.returncode == 0:
|
||||||
click.echo(_("No staged changes — version and changelog already up to date."))
|
click.echo(_("No staged changes — version and changelog already up to date."))
|
||||||
return False
|
return False
|
||||||
run_cmd(["git", "commit", "--no-verify", "-m", f"release: v{new_version}"])
|
run_cmd(["git", "commit", "--no-verify", "-m", f"release: v{new_version} [skip ci]"])
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
@@ -705,7 +705,7 @@ def main(dry_run: bool, skip_tests: bool, verify: bool) -> None:
|
|||||||
click.echo(_("\n[dry-run] Changelog:\n{changelog}", changelog=changelog))
|
click.echo(_("\n[dry-run] Changelog:\n{changelog}", changelog=changelog))
|
||||||
click.echo(_("[dry-run] Would update {init}", init=INIT_FILE))
|
click.echo(_("[dry-run] Would update {init}", init=INIT_FILE))
|
||||||
click.echo(_("[dry-run] Would update {changelog_file}", changelog_file=CHANGELOG_FILE))
|
click.echo(_("[dry-run] Would update {changelog_file}", changelog_file=CHANGELOG_FILE))
|
||||||
click.echo(_("[dry-run] Would commit: release: v{version}", version=new_version))
|
click.echo(_("[dry-run] Would commit: release: v{version} [skip ci]", version=new_version))
|
||||||
click.echo(_("[dry-run] Would push commit to master"))
|
click.echo(_("[dry-run] Would push commit to master"))
|
||||||
click.echo(_("[dry-run] Would create tag: v{version}", version=new_version))
|
click.echo(_("[dry-run] Would create tag: v{version}", version=new_version))
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -1799,13 +1799,13 @@
|
|||||||
"ru": "[check_test_coverage] No changed files to check.",
|
"ru": "[check_test_coverage] No changed files to check.",
|
||||||
"zh": "[check_test_coverage] No changed files to check."
|
"zh": "[check_test_coverage] No changed files to check."
|
||||||
},
|
},
|
||||||
"[dry-run] Would commit: release: v{version}": {
|
"[dry-run] Would commit: release: v{version} [skip ci]": {
|
||||||
"bg": "[dry-run] Would commit: release: v{version}",
|
"bg": "[dry-run] Would commit: release: v{version} [skip ci]",
|
||||||
"de": "[dry-run] Would commit: release: v{version}",
|
"de": "[dry-run] Would commit: release: v{version} [skip ci]",
|
||||||
"en": "[dry-run] Would commit: release: v{version}",
|
"en": "[dry-run] Would commit: release: v{version} [skip ci]",
|
||||||
"pl": "[dry-run] Utworzono by commit: release: v{version}",
|
"pl": "[dry-run] Utworzono by commit: release: v{version} [skip ci]",
|
||||||
"ru": "[dry-run] Would commit: release: v{version}",
|
"ru": "[dry-run] Would commit: release: v{version} [skip ci]",
|
||||||
"zh": "[dry-run] Would commit: release: v{version}"
|
"zh": "[dry-run] Would commit: release: v{version} [skip ci]"
|
||||||
},
|
},
|
||||||
"[dry-run] Would create tag: v{version}": {
|
"[dry-run] Would create tag: v{version}": {
|
||||||
"bg": "[dry-run] Would create tag: v{version}",
|
"bg": "[dry-run] Would create tag: v{version}",
|
||||||
|
|||||||
@@ -802,7 +802,7 @@ class TestCommitReleaseChanges:
|
|||||||
assert result is True
|
assert result is True
|
||||||
calls = [c.args[0] for c in mock_run_cmd.call_args_list]
|
calls = [c.args[0] for c in mock_run_cmd.call_args_list]
|
||||||
assert ["git", "add", "src/devx/__init__.py", "CHANGELOG.md"] in calls
|
assert ["git", "add", "src/devx/__init__.py", "CHANGELOG.md"] in calls
|
||||||
assert ["git", "commit", "--no-verify", "-m", "release: v0.2.0"] in calls
|
assert ["git", "commit", "--no-verify", "-m", "release: v0.2.0 [skip ci]"] in calls
|
||||||
|
|
||||||
@patch("devx.ci.release.run_cmd")
|
@patch("devx.ci.release.run_cmd")
|
||||||
def test_skips_when_no_changes(self, mock_run_cmd: MagicMock) -> None:
|
def test_skips_when_no_changes(self, mock_run_cmd: MagicMock) -> None:
|
||||||
@@ -811,7 +811,7 @@ class TestCommitReleaseChanges:
|
|||||||
result = commit_release_changes("0.1.0")
|
result = commit_release_changes("0.1.0")
|
||||||
assert result is False
|
assert result is False
|
||||||
calls = [c.args[0] for c in mock_run_cmd.call_args_list]
|
calls = [c.args[0] for c in mock_run_cmd.call_args_list]
|
||||||
assert ["git", "commit", "--no-verify", "-m", "release: v0.1.0"] not in calls
|
assert ["git", "commit", "--no-verify", "-m", "release: v0.1.0 [skip ci]"] not in calls
|
||||||
|
|
||||||
|
|
||||||
class TestCreateAndPushTag:
|
class TestCreateAndPushTag:
|
||||||
|
|||||||
Reference in New Issue
Block a user