Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
scottprahl committed Sep 19, 2023
1 parent 3db7315 commit e691f2a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish to PyPI on Tag

on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: Install dependencies
run: pip install -r requirements.txt

- name: Build and publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: |
python setup.py sdist bdist_wheel
python -m pip install --upgrade twine
twine upload dist/*
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=================================================

0.9.2 (9/18/2023)
-----------------
* automatic updating of pypi using github workflow

0.9.1 (9/18/2023)
-----------------
* include test files in tarball
Expand Down
2 changes: 1 addition & 1 deletion pypolar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.9.1'
__version__ = '0.9.2'
__author__ = 'Scott Prahl'
__email__ = 'scott.prahl@oit.edu'
__copyright__ = 'Copyright 2020-23, Scott Prahl'
Expand Down

0 comments on commit e691f2a

Please sign in to comment.