Skip to content

Commit

Permalink
Merge pull request #96 from openeemeter/etc/pypi-publish
Browse files Browse the repository at this point in the history
Add action to publish to PyPi
  • Loading branch information
jason-recurve authored Jan 23, 2025
2 parents b5bd902 + 6f07c8f commit 64f5e1d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish to PyPi
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/eeweather
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install build
run: pip install build
- name: Build distribution
run: python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Changelog
Development
-----------

* Placeholder

0.3.29
------

* Add pypi publish action
* Update ftp host to reflect change from ftp.ncdc.noaa.gov to ftp.ncdc.noaa.gov.

0.3.28
Expand Down
2 changes: 1 addition & 1 deletion eeweather/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__title__ = "eeweather"
__description__ = "Weather for Open Energy Efficiency Meter"
__url__ = "http://github.com/openeemeter/eeweather"
__version__ = "0.3.28"
__version__ = "0.3.29"
__author__ = "Phil Ngo"
__author_email__ = "[email protected]"
__license__ = "Apache 2.0"
Expand Down

0 comments on commit 64f5e1d

Please sign in to comment.