mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-16 17:18:57 +00:00
feat(scripts) Add the WASMER_PUBLISH_SCRIPT_IS_RUNNING env var when running cargo publish.
This commit is contained in:
@@ -102,7 +102,7 @@ def publish_crate(crate: str):
|
||||
|
||||
global no_dry_run
|
||||
if no_dry_run:
|
||||
output = subprocess.run(["cargo", "publish"])
|
||||
output = subprocess.run(["cargo", "publish"], env={'WASMER_PUBLISH_SCRIPT_IS_RUNNING': '1'})
|
||||
else:
|
||||
print("In dry-run: not publishing crate `{}`".format(crate))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user