Skip to content
Snippets Groups Projects
Commit 33836d6b authored by dilawar's avatar dilawar :ant:
Browse files

cicd: use epoch in .dev string

parent fe825ce4
No related branches found
No related tags found
1 merge request!14v0.2.1
Pipeline #4135 passed with stages
in 4 minutes and 14 seconds
......@@ -3,7 +3,7 @@
set -e
git clean -fxd .
_version=$(git describe --exact-match --tags HEAD || echo $(poetry version -s).dev$(date +%Y%m%d))
_version=$(git describe --exact-match --tags HEAD || echo $(poetry version -s).dev$(date -u +%s))
VERSION=${_version#'v'} # remove prefixed 'v' if any
cp pyproject.toml /tmp/pyproject.toml.1
poetry version ${VERSION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment