diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-08-17 15:24:13 +0000 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-08-17 15:24:13 +0000 |
commit | 6d435bb62aeb83e08e40507adf10783be981e0f3 (patch) | |
tree | ccc29fee2b61ed093d2922715b84834abe4253a8 | |
parent | 9c12497baa2680840e3d34cfc9731b17581d36f4 (diff) | |
parent | 90ad8925f77cab003a7a72447fc44711e6ed40bb (diff) |
Merge branch 'test-linter' into 'master'
Separated Gitlab CI into more manageable steps
See merge request rogs/ute!2
-rw-r--r-- | .gitlab-ci.yml | 14 | ||||
-rwxr-xr-x | pyproject.toml | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7c3e9f..5919ed8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,21 @@ image: python:latest -deploy: - stage: deploy +build_pypi_packages: + stage: build only: - master before_script: - - pip install build twine + - pip install build script: - python -m build + +deploy_to_pypi: + stage: deploy + only: + - master + before_script: + - pip install twine + script: - TWINE_PASSWORD=$PYPI_PASSWORD TWINE_USERNAME=$PYPI_USERNAME python3 -m twine upload dist/* lint: diff --git a/pyproject.toml b/pyproject.toml index 09c00ac..b6a8704 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ build-backend = "hatchling.build" [project] name = "ute_wrapper" -version = "1.0.0" +version = "1.0.1" authors = [ { name="Roger Gonzalez", email="roger@rogs.me" }, ] |