diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..95c7a72 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,40 @@ +name: Build & Publish + +on: + push: + tags: '**' + + workflow_dispatch: + +jobs: + + cd-job: + name: Continues Delivery + runs-on: ubuntu-latest + steps: + + - name: SCM Checkout + uses: actions/checkout@v4 + + - name: Setup Python & Poetry Environment + uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0 + with: + python-version: ${{ matrix.python-version }} + + - name: Build Artifacts + run: poetry build + + - name: PyPi Release + env: + POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__" + POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}" + run: poetry publish + + - name: GitHub Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: > + gh release create ${GITHUB_REF_NAME} + --title ${GITHUB_REF_NAME} + --notes-file "./doc/changes/changes_${GITHUB_REF_NAME}.md" + dist/* diff --git a/.gitignore b/.gitignore index cfb10fd..6bfef6b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ dist *.log odbc.ini +# Emacs +TAGS \ No newline at end of file diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 8a5105e..801cc37 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changes +* [0.6.0](changes_0.6.0.md) * [0.5.1](changes_0.5.1.md) * [0.5.0](changes_0.5.0.md) * [0.4.0](changes_0.4.0.md) diff --git a/doc/changes/changes_0.6.0.md b/doc/changes/changes_0.6.0.md new file mode 100644 index 0000000..743c2f9 --- /dev/null +++ b/doc/changes/changes_0.6.0.md @@ -0,0 +1,11 @@ +# Exasol Python Test Framework 0.6.0, released 2024-07-08 + +Code name: Configure TLS certificate validation + +## Summary + +Starting with version `0.6.0`, EPTF is also available on pypi. + +## Refactoring + +* #67: Enabled publication on pypi