mirror of
https://github.com/djrobstep/migra.git
synced 2024-09-11 05:45:51 +03:00
try push tags
This commit is contained in:
parent
530a188198
commit
d4f2371b6c
@ -3,7 +3,7 @@ jobs:
|
||||
build:
|
||||
working_directory: ~/circleci
|
||||
docker:
|
||||
- image: circleci/python:3.8.2
|
||||
- image: circleci/python:3.8.5
|
||||
- image: circleci/postgres:12
|
||||
environment:
|
||||
POSTGRES_USER: circleci
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
publish:
|
||||
working_directory: ~/circleci
|
||||
docker:
|
||||
- image: circleci/python:3.8.2
|
||||
- image: circleci/python:3.8.5
|
||||
steps:
|
||||
- setup_remote_docker
|
||||
- checkout
|
||||
@ -74,6 +74,8 @@ jobs:
|
||||
python deploy/vbump.py
|
||||
poetry build
|
||||
poetry publish --username $PYPI_USERNAME --password $PYPI_PASSWORD
|
||||
git tag `echo /version`
|
||||
git push origin `echo /version`
|
||||
|
||||
|
||||
workflows:
|
||||
|
@ -19,3 +19,5 @@ parts.append(unix)
|
||||
v_with_timestamp = ".".join(parts)
|
||||
pyproject["tool"]["poetry"]["version"] = v_with_timestamp
|
||||
p.write_text(dumps(pyproject, tpide()))
|
||||
|
||||
Path('/version').expanduser().write_text(v_with_timestamp)
|
Loading…
Reference in New Issue
Block a user