Skip to content

Commit

Permalink
Release fix (#548)
Browse files Browse the repository at this point in the history
The force commit to skip extra time wait
  • Loading branch information
babenek committed Apr 29, 2024
1 parent bb5ebb7 commit 6ebb093
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python -m build
- name: Publish
if: ${{ 'release' == github.event_name }}
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ build-backend = "hatchling.build"
[tool.hatch.version]
path = "credsweeper/__init__.py"

[tool.hatch.build.targets.sdist]
ignore-vcs = true
only-include = ["/credsweeper"]

[project.scripts]
credsweeper = "credsweeper.__main__:main"

5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ scipy==1.10.1
# ^ the version supports python 3.8
onnxruntime==1.17.0

# setup.py requirement
setuptools==69.1.0
# build requirement
build==1.2.1
hatchling==1.24.2

# Auxiliary
# Tests and maintenance packages
Expand Down

0 comments on commit 6ebb093

Please sign in to comment.