diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..e605c22 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -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 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ccbb4c..4dd9afc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/eeweather/__version__.py b/eeweather/__version__.py index 71b955d..9a5622f 100644 --- a/eeweather/__version__.py +++ b/eeweather/__version__.py @@ -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__ = "phil@openee.io" __license__ = "Apache 2.0"