This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new abef381aa65 marvin: newer python setuptools doesn't like -SNAPSHOT in 
marvin version (#7120)
abef381aa65 is described below

commit abef381aa6576297ce26a0e5da9654f06d3d00f7
Author: Rohit Yadav <[email protected]>
AuthorDate: Tue Jan 24 19:58:07 2023 +0530

    marvin: newer python setuptools doesn't like -SNAPSHOT in marvin version 
(#7120)
---
 tools/marvin/mvn-setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/marvin/mvn-setup.py b/tools/marvin/mvn-setup.py
index 5aa251b9077..e3da9f19097 100755
--- a/tools/marvin/mvn-setup.py
+++ b/tools/marvin/mvn-setup.py
@@ -48,7 +48,7 @@ def runSetupScript(args):
 
 
 if __name__ == "__main__":
-    version = sys.argv[1]
+    version = sys.argv[1].replace("-SNAPSHOT", "")
     remainingArgs = sys.argv[2:]
     replaceVersion(setupScript, version)
     runSetupScript(remainingArgs)

Reply via email to