Skip to content

fix(knowledge): align build.py version with Makefile VERSION env var#70

Merged
ghaskins merged 1 commit into
manetu:mainfrom
ghaskins:release-fix
May 1, 2026
Merged

fix(knowledge): align build.py version with Makefile VERSION env var#70
ghaskins merged 1 commit into
manetu:mainfrom
ghaskins:release-fix

Conversation

@ghaskins

@ghaskins ghaskins commented May 1, 2026

Copy link
Copy Markdown
Contributor

build.py was independently calling git describe, producing e.g. 'v1.3.5', while the Makefile TARGET used the externally-passed VERSION ('1.3.5' after stripping the v prefix). mvn deploy:deploy-file then failed because the file it expected did not exist.

Pass VERSION through as MPE_VERSION env var so build.py uses the same version string as the Makefile TARGET, with git describe as the fallback for local builds where VERSION is not set.

build.py was independently calling git describe, producing e.g. 'v1.3.5',
while the Makefile TARGET used the externally-passed VERSION ('1.3.5' after
stripping the v prefix).  mvn deploy:deploy-file then failed because the
file it expected did not exist.

Pass VERSION through as MPE_VERSION env var so build.py uses the same
version string as the Makefile TARGET, with git describe as the fallback
for local builds where VERSION is not set.

Signed-off-by: Greg Haskins <greg@manetu.com>
@codecov

codecov Bot commented May 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ghaskins ghaskins merged commit fa80b98 into manetu:main May 1, 2026
17 checks passed
@ghaskins ghaskins deleted the release-fix branch May 1, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant