fix: Set the top-level package version
parent
8ae5ce723d
commit
185c7e5c79
|
@ -83,6 +83,9 @@ while True:
|
||||||
if hasattr(i, "version"):
|
if hasattr(i, "version"):
|
||||||
i.version = version
|
i.version = version
|
||||||
|
|
||||||
|
# Set the top-level
|
||||||
|
pkg.version = version
|
||||||
|
|
||||||
try:
|
try:
|
||||||
log.info("Using binding %s", "urn:stix.mitre.org:xml:{}".format(version))
|
log.info("Using binding %s", "urn:stix.mitre.org:xml:{}".format(version))
|
||||||
cli.push(content=pkg.to_xml().decode("utf-8"),
|
cli.push(content=pkg.to_xml().decode("utf-8"),
|
||||||
|
|
Loading…
Reference in New Issue