Sign in
pigweed
/
third_party
/
github
/
google
/
emboss
/
cefa72619fe9877a7d6c5013f9b453edb1eaa85f
/
.
/
.github
/
scripts
/
set_release_version.py
blob: 92c95dd5393527855da65688d986569d5bd5c9aa [
file
] [
log
] [
blame
]
# Obtains a date-based version for the release workflow.
import
datetime
now_utc
=
datetime
.
datetime
.
now
(
datetime
.
timezone
.
utc
)
version
=
now_utc
.
strftime
(
"%Y.%m%d.%H%M%S"
)
print
(
"::set-output name=version::v{}"
.
format
(
version
))