Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't pass --model-version via stage.py or mxbuild.py #617

Open
basi01 opened this issue Apr 11, 2023 · 0 comments
Open

can't pass --model-version via stage.py or mxbuild.py #617

basi01 opened this issue Apr 11, 2023 · 0 comments

Comments

@basi01
Copy link
Contributor

basi01 commented Apr 11, 2023

We were calling mono mxbuild.exe directly and we were passing the argument --model-version= so the app knows its version.
Now we switched to the Python wrapper and I can't find a way to pass this argument. Here's how we build the .mda:

subprocess.check_call(["/opt/mendix/buildpack/buildpack/stage.py", BUILD_PATH, CACHE_PATH, DEPS_DIR, DEPS_IDX])

I searched for the string "model-version" in this repo and it's not here.
As a workaround we'll have to patch mxbuild.py on the fly.

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

No branches or pull requests

1 participant