Skip to content

Commit

Permalink
#67: Enabled publication on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Jul 8, 2024
1 parent 04a052f commit c187c1e
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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/*
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dist
*.log
odbc.ini

# Emacs
TAGS
1 change: 1 addition & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
11 changes: 11 additions & 0 deletions doc/changes/changes_0.6.0.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c187c1e

Please sign in to comment.