Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
17 changes: 17 additions & 0 deletions .github/workflows/build-wheel-release-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release (GitHub/PyPI)

on:
workflow_dispatch:
push:
tags:
- '*'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will make a release for any tag I guess so we need a better Regen. Is this still testing or I should be reviewing this for production?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still testing, sorry I forgot to close this pull request will close it rn

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on:
  push:
    tags:
      - '[0-9]+.[0-9]+.[0-9]+*'  # Match tags that start with digit.digit.digit and may have additional qualifiers

The above may work


jobs:
release:
permissions:
contents: write
uses: Billingegroup/release-scripts/.github/workflows/_build-wheel-release-upload.yml@v0
with:
project: diffpy.snmf
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
23 changes: 23 additions & 0 deletions news/build-wheel-release-workflow.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* Use GitHub Actions to build, release, upload to PyPI

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>