Merge branch 'test-linter' into 'master'
Separated Gitlab CI into more manageable steps See merge request rogs/ute!2
This commit is contained in:
commit
6d435bb62a
@ -1,13 +1,21 @@
|
|||||||
image: python:latest
|
image: python:latest
|
||||||
|
|
||||||
deploy:
|
build_pypi_packages:
|
||||||
|
stage: build
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
before_script:
|
||||||
|
- pip install build
|
||||||
|
script:
|
||||||
|
- python -m build
|
||||||
|
|
||||||
|
deploy_to_pypi:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
before_script:
|
before_script:
|
||||||
- pip install build twine
|
- pip install twine
|
||||||
script:
|
script:
|
||||||
- python -m build
|
|
||||||
- TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/*
|
- TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/*
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
@ -45,7 +45,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "ute_wrapper"
|
name = "ute_wrapper"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Roger Gonzalez", email="roger@rogs.me" },
|
{ name="Roger Gonzalez", email="roger@rogs.me" },
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user