From 567870c0b88468cdf8ab8cda0538f9effcb9ad41 Mon Sep 17 00:00:00 2001 From: "Jonathan R. Madsen" Date: Mon, 16 Oct 2023 02:35:53 -0500 Subject: [PATCH] Add release workflow - auto-generate release --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..5c36bbd5c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Release + +on: + workflow_dispatch: + push: + tags: + - v* + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +env: + GIT_DISCOVERY_ACROSS_FILESYSTEM: 1 + +jobs: + release: + if: github.repository == 'NERSC/timemory' + runs-on: ubuntu-latest + permissions: + contents: write + packages: write + steps: + - name: Generate Release + uses: softprops/action-gh-release@v1 + with: + draft: False + generate_release_notes: True