diff --git a/.github/workflows/pypi-upload.yaml b/.github/workflows/pypi-upload.yaml new file mode 100644 index 0000000..e04dd71 --- /dev/null +++ b/.github/workflows/pypi-upload.yaml @@ -0,0 +1,27 @@ +name: Upload to PyPI + +# Trigger the workflow on every release +on: + release: + types: [created] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: '3.6' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install setuptools wheel + - name: Build distribution + run: python setup.py sdist bdist_wheel + - name: Publish to PYPI + uses: pypa/gh-action-pypi-publish@master + with: + user: ${{ secrets.PYPI_USERNAME }} + password: ${{ secrets.PYPI_PASSWORD }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4087632..8bfdc1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,14 @@ Documenting All Changes to the Skelebot Project --- +## v1.6.2 +#### Changed +- **CI/CD** | Upload skelebot releases to PyPI via GitHub Action. + +--- + ## v1.6.1 +#### Merged: 2019-10-02 #### Changed - **README** | Properly centering the project title logo image with GitHub specific markdown html diff --git a/VERSION b/VERSION index 9c6d629..308b6fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6.1 +1.6.2 \ No newline at end of file diff --git a/test/test_systems_parsing_skeleParser.py b/test/test_systems_parsing_skeleParser.py index 222655f..19259e3 100644 --- a/test/test_systems_parsing_skeleParser.py +++ b/test/test_systems_parsing_skeleParser.py @@ -49,7 +49,7 @@ def test_description(self): ----------------------------------- Version: 0.1.0 Environment: test -Skelebot Version: 1.6.1 +Skelebot Version: 1.6.2 -----------------------------------""" self.assertEqual(description, expectedDescription)