Skip to content

Commit

Permalink
Merge pull request #155 from punch-mission/prep-new-release
Browse files Browse the repository at this point in the history
updates release mechanism
  • Loading branch information
jmbhughes authored Apr 2, 2024
2 parents f6d4df8 + de4b699 commit 0b01877
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ permissions:

jobs:
deploy:

runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/regularizepsf
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -31,9 +34,6 @@ jobs:
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build -s
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
project = "regularizepsf"
copyright = "2023, J. Marcus Hughes and the PUNCH Science Operations Center"
author = "J. Marcus Hughes and the PUNCH Science Operations Center"
release = "0.2.2"
release = "0.3.1"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="regularizepsf",
version="0.2.3",
version="0.3.1",
description="Point spread function modeling and regularization",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 0b01877

Please sign in to comment.