Skip to content

Commit

Permalink
Experiment release
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Oct 25, 2024
1 parent 489e238 commit b68ae30
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build & Publish

on:
workflow_dispatch:
workflow_call:
secrets:
PYPI_TOKEN:
Expand All @@ -22,17 +23,22 @@ jobs:
- 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: Build Script Language Container (SLC)
run: poetry run nox -s build_language_container

- name: GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >
gh release create ${GITHUB_REF_NAME}
--draft
--title ${GITHUB_REF_NAME}
--notes-file doc/changes/changes_${GITHUB_REF_NAME}.md
dist/*
.slc/*
# - name: PyPi Release
# env:
# POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
# POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
# run: poetry publish
3 changes: 2 additions & 1 deletion doc/changes/changes_0.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ Code name:
* #176: Updated usage of `exasol-bucketfs` to new API
* #185: Removed directory and script for building SLC AAF
* #191: Renamed UDF json element "parameters" to "parameter"
* #190: Added dynamic module generation and used it in the example UDF in the user guide
* #178: Fixed names of mock objects:
* Renamed `testing.mock_query_handler_runner.MockQueryHandlerRunner` to `query_handler.python_query_handler_runner.PythonQueryHandlerRunner`
* Renamed method `PythonQueryHandlerRunner.execute_query()` to `execute_queries()`
* Renamed `mock_query_result.MockQueryResult` to `python_query_result.PythonQueryResult`
* #190: Added dynamic module generation and used it in the example UDF in the user guide
* #175: Prepared releasing AAF to PyPi incl. adding SLC as asset to the GitHub release

### Documentation

Expand Down

0 comments on commit b68ae30

Please sign in to comment.