Minor fix to iOS build script, when pushing SPM, push all tags to remote
@@ -273,7 +273,7 @@ def buildIOSPackage(args, buildCocoapod, buildSwiftPackage):
print('pod trunk push\n')
if buildSwiftPackage:
spmPackageName = "mobile-sdk-ios-metal-swift-package" if args.metalangle else "mobile-sdk-ios-swift-package"
- print('rm -rf %s\ngit clone git@github.com:nutiteq/%s\ncp Package.swift %s\ncd %s\ngit add Package.swift\ngit commit -m "Version %s" && git tag %s\ngit push origin\n' % (spmPackageName, spmPackageName, spmPackageName, spmPackageName, version, version))
+ print('rm -rf %s\ngit clone git@github.com:nutiteq/%s\ncp Package.swift %s\ncd %s\ngit add Package.swift\ngit commit -m "Version %s" && git tag %s\ngit push origin --tags\n' % (spmPackageName, spmPackageName, spmPackageName, spmPackageName, version, version))
return True
parser = argparse.ArgumentParser()
