Sign in
pigweed
/
third_party
/
github
/
google
/
emboss
/
9961adb5446d091fc8012e1068e1e6eb9ce4670a
/
.
/
.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
))