Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
firecat53 committed Nov 18, 2024
2 parents 9ecd24d + c8f8519 commit 12f1363
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensures version gets set correctly

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: "3.x"

- name: Install Hatch
run: |
Expand All @@ -34,7 +32,7 @@ jobs:
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: urlscan-${{ matrix.python-version }}
name: urlscan
path: dist/

publish-to-pypi:
Expand All @@ -53,7 +51,7 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: urlscan-3.13
name: urlscan
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -73,7 +71,7 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: urlscan-3.13
name: urlscan
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
Expand Down Expand Up @@ -117,7 +115,7 @@ jobs:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: urlscan-3.12
name: urlscan
path: dist/
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Homepage = "https://github.com/firecat53/urlscan"
source = "vcs"
fallback-version = "0.0.0"

[tool.hatch.version.raw-options]
local_scheme = "no-local-version"

[tool.hatch.build.hooks.vcs]
version-file = "urlscan/_version.py"

Expand Down

0 comments on commit 12f1363

Please sign in to comment.