Skip to content

Commit

Permalink
Update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
RedTachyon authored Jan 17, 2024
1 parent 8017c75 commit 30b256c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ shfmt:
- python -m venv .venv
- source .venv/bin/activate
- pip install -r requirements.txt
- pip install -e .
- pip install -e .[all]
cache:
- paths:
- .cache/pip
Expand All @@ -49,10 +49,7 @@ build_sdist:
extends: .base
stage: build
script:
- echo "to be implemented"
# TODO
# - python -m build
# - twine check dist/*
- hatch build
artifacts:
expire_in: 1 week
paths:
Expand All @@ -65,6 +62,6 @@ publish_to_pypi:
needs:
- build_sdist
script:
- python -m twine upload dist/* --non-interactive -u $PYPI_USERNAME -p $PYPI_PASSWORD
- hatch publish -u $PYPI_USERNAME -a $PYPI_PASSWORD
rules:
- if: $CI_COMMIT_TAG

0 comments on commit 30b256c

Please sign in to comment.