Sign in
fuchsia
/
third_party
/
github.com
/
google
/
emboss
/
refs/heads/main
/
.
/
.github
/
scripts
/
set_release_version.py
blob: 92c95dd5393527855da65688d986569d5bd5c9aa [
file
] [
log
] [
blame
] [
edit
]
# 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
))