Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantkoenig authored Oct 17, 2024
2 parents 16643fc + eac6e2c commit b74609c
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 50 deletions.
File renamed without changes.
58 changes: 58 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Release

on:
release:
types: [published]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- run: pipx run build

- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: distfiles
path: dist/
if-no-files-found: error

upload-github:
name: Upload (GitHub)
runs-on: ubuntu-latest
permissions:
contents: write
needs: build
steps:
# We need to be in a git repo for gh to work.
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: distfiles
path: dist/

- run: gh release upload ${{ github.event.release.tag_name }} dist/*.{tar.gz,whl}
env:
GH_TOKEN: ${{ github.token }}

upload-pypi:
name: Upload (PyPI)
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/poetry-core/
permissions:
id-token: write
needs: build
steps:
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: distfiles
path: dist/

- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with:
print-hash: true
47 changes: 0 additions & 47 deletions .github/workflows/release.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Tests
on:
pull_request: {}
push:
branches: [main]

env:
PYTHONWARNDEFAULTENCODING: 'true'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Update licenses"
name: Update Licenses

on:
workflow_dispatch:
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log


## [1.9.1] - 2024-10-13

### Added

- Add `3.13` to the list of available Python versions ([#747](https://github.com/python-poetry/poetry-core/pull/747)).


## [1.9.0] - 2024-02-02

### Added
Expand Down Expand Up @@ -633,7 +640,8 @@ No changes.
- Fixed support for stub-only packages ([#28](https://github.com/python-poetry/core/pull/28)).


[Unreleased]: https://github.com/python-poetry/poetry-core/compare/1.9.0...main
[Unreleased]: https://github.com/python-poetry/poetry-core/compare/1.9.1...main
[1.9.1]: https://github.com/python-poetry/poetry-core/releases/tag/1.9.1
[1.9.0]: https://github.com/python-poetry/poetry-core/releases/tag/1.9.0
[1.8.1]: https://github.com/python-poetry/poetry-core/releases/tag/1.8.1
[1.8.0]: https://github.com/python-poetry/poetry-core/releases/tag/1.8.0
Expand Down

0 comments on commit b74609c

Please sign in to comment.