Sign in
fuchsia
/
third_party
/
github.com
/
google
/
emboss
/
a02d5f4b18f04e4b9a86ed24ce19b7e979880447
/
.
/
.github
/
scripts
/
set_release_version.py
blob: 980a8520bf530c6cdd67595f3199917198890fd9 [
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
))