Skip to content

Commit c27f7e9

Browse files
authored
Merge branch 'main' into feature/project-path-python
2 parents cc0cfcb + baef7f0 commit c27f7e9

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
steps:
5858
- name: Download packages built by build-and-inspect-python-package
59-
uses: actions/download-artifact@v5
59+
uses: actions/download-artifact@v6
6060
with:
6161
name: Packages
6262
path: dist
@@ -79,7 +79,7 @@
7979

8080
steps:
8181
- name: Download packages built by build-and-inspect-python-package
82-
uses: actions/download-artifact@v5
82+
uses: actions/download-artifact@v6
8383
with:
8484
name: Packages
8585
path: dist

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
- Enhancement: Use tables in the generated sphinx code for topic/domains.
66
[jensens, 02-11-2025]
7-
87
- Feature: Add monorepo support with `PROJECT_PATH_PYTHON` setting.
98
Python projects can now be located in subdirectories while keeping the Makefile at the repository root. Includes auto-detection of `pyproject.toml` in subdirectories on init, `--project-path-python` CLI flag and preseed file support.
109
Useful for monorepos with multiple applications (e.g., frontend + backend).
1110
See the "Monorepo Support" section in getting-started.md for details.
11+
- Feature: Add `--version` (`-v`) command line flag to display mxmake version.
1212
[jensens, 02-11-2025]
1313

1414
## 2.0.0 (2025-10-24)

src/mxmake/main.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from ._version import __version__
12
from .helpgen import print_help
23
from .parser import MakefileParser
34
from .templates import ci_template
@@ -27,6 +28,12 @@
2728

2829

2930
parser = argparse.ArgumentParser()
31+
parser.add_argument(
32+
"-v",
33+
"--version",
34+
action="version",
35+
version=f"%(prog)s {__version__}",
36+
)
3037
command_parsers = parser.add_subparsers(dest="command", required=True)
3138

3239

0 commit comments

Comments
 (0)