Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 5 additions & 49 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ jobs:
verbose: true
skip-existing: true

# NOTE: Publishing this release is what triggers the Zenodo archive. Zenodo's
# GitHub integration webhooks the 'release: published' event and mints a new
# version under the concept DOI in CITATION.cff -- no job, token, or API call
# of ours is involved. The integration only sees releases published *after* it
# was enabled, so it never backfills.
publish-github-release:
name: Publish GitHub release
needs: publish-pypi
Expand All @@ -133,52 +138,3 @@ jobs:
uses: softprops/action-gh-release@v3
with:
generate_release_notes: true

# publish-zenodo:
# name: Publish Zenodo release
# needs: publish-github-release
# runs-on: ubuntu-latest
# if: github.event_name == 'push'
# permissions:
# contents: read
# env:
# ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
# steps:
# - uses: actions/checkout@v7
# with:
# fetch-depth: 0
#
# - uses: actions/setup-python@v6
# with:
# python-version: "3.12"
#
# - name: Install release tooling
# run: |
# python -m pip install --upgrade pip
# python -m pip install PyYAML
# shell: bash
#
# - name: Download artifacts
# uses: actions/download-artifact@v8
# with:
# name: dist-${{ github.sha }}-${{ github.run_id }}-${{ github.run_number }}
# path: dist
#
# - name: Generate release citation metadata
# run: |
# python tools/release/sync_citation.py \
# --tag "${GITHUB_REF_NAME}" \
# --output "${RUNNER_TEMP}/CITATION.cff"
# shell: bash
#
# - name: Check tree stayed clean
# run: |
# git diff --quiet || (git status --short && git diff && exit 1)
# shell: bash
#
# - name: Publish to Zenodo
# run: |
# python tools/release/publish_zenodo.py \
# --dist-dir dist \
# --citation-file "${RUNNER_TEMP}/CITATION.cff"
# shell: bash
8 changes: 6 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ authors:
- family-names: "Becker"
given-names: "Matthew R."
orcid: "https://orcid.org/0000-0001-7774-2246"
date-released: "2026-03-30"
version: "2.1.5"
# NOTE: Deliberately no 'version' or 'date-released'. The package version comes
# from the git tag via setuptools_scm, and Zenodo's GitHub integration takes the
# version and publication date from the release itself. Pinning them here means
# hand-editing this file on every release, which is how it drifted to 2.1.5 while
# the project shipped 2.4.0. The DOI below is the *concept* DOI: it is stable
# across releases and always resolves to the latest version.
doi: "10.5281/zenodo.15733564"
repository-code: "https://github.com/Ultraplot/UltraPlot"
license: "MIT"
Expand Down
Loading