Skip to content

Commit

Permalink
Merge pull request #281 from mollie/github-release-process
Browse files Browse the repository at this point in the history
GitHub release process
  • Loading branch information
Tom Hendrikx authored Nov 11, 2022
2 parents 475bb35 + 8d69f97 commit e48a5ed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Save artifacts
uses: actions/upload-artifact@v3
with:
name: packages-${{ github.ref }}
name: packages-${{ github.ref_name }}
path: dist/*

pypi-release:
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: packages-${{ github.ref }}
name: packages-${{ github.ref_name }}
path: dist/

- name: Upload packages
Expand All @@ -66,22 +66,22 @@ jobs:

github-release:
name: Create release on Github
needs: pypi-release
needs: build
runs-on: ubuntu-latest
steps:
- name: Get packages
uses: actions/download-artifact@v3
with:
name: packages
name: packages-${{ github.ref_name }}
path: dist/

- name: Create new release
continue-on-error: true # If this fails, we can do it by hand
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }} # Provided by github actions, no need to configure
tag: ${{ github.ref }}
name: Release ${{ github.ref }}
tag: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
body: |
Summary:
- TODO
Expand Down

0 comments on commit e48a5ed

Please sign in to comment.