Skip to content

Commit

Permalink
Merge pull request #198 from djhoese/build-fix-version
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Sep 20, 2023
2 parents e247cc2 + 295f138 commit 9000a84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy-sdist.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Deploy sdist

on:
push:
pull_request:
release:
types:
- published

jobs:
test:
deploy:
runs-on: ubuntu-latest

steps:
Expand All @@ -15,7 +17,9 @@ jobs:

- name: Create sdist
shell: bash -l {0}
run: python setup.py sdist
run: |
python -m pip install -q build
python -m build -s
- name: Publish package to PyPI
if: github.event.action == 'published'
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ include LICENSE.txt
include README.md
include AUTHORS.md
include CHANGELOG.md
include CHANGELOG_RSR_DATA.md
include CHANGELOG_RSR_DATA.rst
include pyspectral/version.py
global-exclude *.py[cod]

0 comments on commit 9000a84

Please sign in to comment.