Skip to content

Commit

Permalink
Merge pull request #38 from NSLS-II/rel-notes-v0.3.0
Browse files Browse the repository at this point in the history
DOC: release notes for v0.3.0
  • Loading branch information
mrakitin authored Jun 17, 2023
2 parents 5ef478b + d62fc0b commit e81304e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This workflow will upload a Python Package using flit when a release is
# created. For more information see:
# https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
# This workflows will upload a Python Package when a release is created.
# For more information see:
# - https://docs.pypi.org/trusted-publishers/adding-a-publisher/
# - https://github.com/pypa/gh-action-pypi-publish

name: PyPI upload

Expand All @@ -12,28 +13,27 @@ jobs:
publish_pypi:
name: Publish package to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel twine setuptools
- name: Build package
run: |
set -vxeuo pipefail
python -m pip install --upgrade pip
pip install wheel setuptools
python setup.py sdist bdist_wheel
- name: Build and publish
env:
TWINE_USERNAME: __token__
# The PYPI_PASSWORD must be a pypi token with the "pypi-" prefix with sufficient permissions to upload this package
# https://pypi.org/help/#apitoken
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish wheels to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist/
7 changes: 7 additions & 0 deletions docs/source/release-history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Release History
===============

v0.3.0 (2023-06-17)
-------------------

- Implemented multi-task optimization
- Simplified the syntax on initializing the agent
- Resolved issues discovered at ISS


v0.2.0 (2023-04-25)
-------------------
Expand Down

0 comments on commit e81304e

Please sign in to comment.