Skip to content

Commit 48ad784

Browse files
authored
Update setup.py
1 parent 1c94adc commit 48ad784

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,8 @@ def read_version():
7171
]
7272
}
7373
)
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

Comments
 (0)