Skip to content

Commit

Permalink
Improve the automated Github release process
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRobidas committed Feb 15, 2022
1 parent 1f43ca3 commit 17aaf5f
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags: [ v* ]

jobs:
test:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -26,17 +26,8 @@ jobs:
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_TOKEN }}
- name: Get tag content
uses: ericcornelissen/git-tag-annotation-action@v1
id: tag_data
- name: Create Github release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: "marvinpinto/action-automatic-releases@latest"
name: Create Github release
with:
tag_name: ${GITHUB_REF_NAME}
release_name: Release ${GITHUB_REF_NAME}
body: |
${{ steps.tag_data.outputs.git-tag-annotation }}
draft: true
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false

0 comments on commit 17aaf5f

Please sign in to comment.