mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix release script
This commit is contained in:
@@ -74,13 +74,13 @@ if "/artifacts/" not in artifactUrl:
|
|||||||
print("❌ Invalid parameter --artifactUrl %s. Must contain '/artifacts/'" % artifactUrl)
|
print("❌ Invalid parameter --artifactUrl %s. Must contain '/artifacts/'" % artifactUrl)
|
||||||
exit(1)
|
exit(1)
|
||||||
artifactItems = artifactUrl.split("/")
|
artifactItems = artifactUrl.split("/")
|
||||||
if len(artifactItems) != 9:
|
if len(artifactItems) != 10:
|
||||||
print("❌ Invalid parameter --artifactUrl %s. Please check the format." % (artifactUrl))
|
print("❌ Invalid parameter --artifactUrl %s. Please check the format." % (artifactUrl))
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
gitHubRepoOwner = artifactItems[3]
|
gitHubRepoOwner = artifactItems[3]
|
||||||
gitHubRepo = artifactItems[4]
|
gitHubRepo = artifactItems[4]
|
||||||
artifactId = artifactItems[8]
|
artifactId = artifactItems[9]
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
print("gitHubRepoOwner: %s, gitHubRepo: %s, artifactId: %s" % (gitHubRepoOwner, gitHubRepo, artifactId))
|
print("gitHubRepoOwner: %s, gitHubRepo: %s, artifactId: %s" % (gitHubRepoOwner, gitHubRepo, artifactId))
|
||||||
|
|||||||
Reference in New Issue
Block a user