diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b497d927..15e2228c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,3 +82,23 @@ jobs: if: ${{ always() }} steps: - uses: nengo/nengo-bones/actions/coverage-report@main + deploy: + needs: + - test + if: >- + startsWith(github.ref_name, 'release-candidate-') || + (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Write .pypirc to file + run: | + echo '${{ secrets.PYPIRC_FILE }}' > ~/.pypirc + - uses: actions/checkout@v3 + - uses: nengo/nengo-bones/actions/setup@main + with: + python-version: "3.10" + - uses: nengo/nengo-bones/actions/generate-and-check@main + - uses: nengo/nengo-bones/actions/run-script@main + with: + name: deploy diff --git a/.nengobones.yml b/.nengobones.yml index cb7af547..1706edf3 100644 --- a/.nengobones.yml +++ b/.nengobones.yml @@ -98,6 +98,8 @@ ci_scripts: azure_group: nengo-ci remote_setup: - micromamba install -y "$TF_VERSION" + - template: deploy + wheel: true pre_commit_config_yaml: {} @@ -108,4 +110,4 @@ version_py: major: 0 minor: 5 patch: 0 - release: false + release: true diff --git a/CHANGES.rst b/CHANGES.rst index 4a61e58d..dc9b52e2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,8 +19,8 @@ Release history - Removed - Fixed -0.5.0 (unreleased) -================== +0.5.0 (January 26, 2023) +======================== *Compatible with TensorFlow 2.4 - 2.11* diff --git a/keras_lmu/version.py b/keras_lmu/version.py index aab59c42..8e69af69 100644 --- a/keras_lmu/version.py +++ b/keras_lmu/version.py @@ -14,7 +14,7 @@ version_info = (0, 5, 0) name = "keras-lmu" -dev = 0 +dev = None # use old string formatting, so that this can still run in Python <= 3.5 # (since this file is parsed in setup.py, before python_requires is applied)