Commit 7e88843c authored by Andrey Veltischev's avatar Andrey Veltischev
Browse files

Merge branch 'vitalii/add_ci' into 'master'

Add ci to build and push metris wheel to pypi

Closes #2

See merge request !3
parents 049fd874 cde544d0
include:
- project: 'prozorro-sale/ci-build-box'
file: '/template-ci.yml'
stages:
- lint
- build
- publish
image: registry-gitlab.prozorro.sale/prozorro-sale/ci-build-box
code-style-check:
extends: .lint-template
stage: lint
build-wheel:
stage: build
extends: .build-wheel-template
publish-wheel:
stage: publish
extends: .publish-wheel-tamplate
......@@ -4,3 +4,9 @@ version:
echo "Tagged release $(VERSION)\n" > Changelog-$(VERSION).txt
git log --oneline --no-decorate --no-merges $(GIT_TAG)..HEAD >> Changelog-$(VERSION).txt
git tag -a -e -F Changelog-$(VERSION).txt $(VERSION)
build-wheel:
python3 setup.py sdist bdist_wheel
publish-wheel:
twine upload dist/*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment