Skip to content

Commit

Permalink
CI: PyPI release
Browse files Browse the repository at this point in the history
- fixes #829
- follow-up to #605
  • Loading branch information
casperdcl committed Jul 3, 2024
1 parent f9ad69e commit c62d089
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Release
on: {push: {tags: ['v*.*.*']}}
jobs:
pypi:
permissions: {contents: write, id-token: write}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: {fetch-depth: 0, submodules: recursive}
- uses: actions/setup-python@v5
with: {python-version: '3.x'}
- uses: casperdcl/deploy-pypi@v2
with: {build: -s, upload: true}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ __pycache__/
/_cmake_test_compile/
/dcm2niix/_dist_ver.py
/dcm2niix/dcm2niix
MANIFEST
/MANIFEST*
/*.egg*/
/dist/

0 comments on commit c62d089

Please sign in to comment.