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