We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c94adc commit 48ad784Copy full SHA for 48ad784
setup.py
@@ -71,3 +71,8 @@ def read_version():
71
]
72
}
73
)
74
+
75
+build_metadata = {"name": "aws-sfn", "version": read_version(), "commit_id": os.getenv('CODEBUILD_RESOLVED_SOURCE_VERSION') }
76
+with open("build.json", "w") as outputfile:
77
+ json.dump(build_metadata, outputfile)
78
+print(build_metadata)
0 commit comments