diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 26638e30..0353f7ec 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -3,8 +3,8 @@ name: Publish Python Package on: release: - # Trigger the workflow only for real releases but not for draft releases - types: [created] + # Run when a release is published or a prerelease is published (not on draft creation) + types: [published, prereleased] jobs: build: @@ -54,7 +54,7 @@ jobs: path: dist - name: Publish package 📦 to PyPI - if: github.event_name == 'release' uses: pypa/gh-action-pypi-publish@v1.12.4 with: - verbose: true \ No newline at end of file + verbose: true + skip-existing: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 219acb87..9fa1fc29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Add `curation_rule` and `curation_rule_text` to the `MappingSet` class and made propagatable ([issue](https://github.com/mapping-commons/sssom/issues/464)). - Add `cardinality_scope` slot ([issue](https://github.com/mapping-commons/sssom/issues/467)). - Add new value `0:0` to the `mapping_cardinality_enum` ([issue](https://github.com/mapping-commons/sssom/issues/477)). +- Development snapshots of SSSOM schema can now be released using GitHub's pre-release feature ([issue](https://github.com/mapping-commons/sssom/issues/490)) ## SSSOM version 1.0.0