Auto-update pre-commit hooks (#203) #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Drafter | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update_release_draft: | |
runs-on: ubuntu-latest | |
name: Release Drafter | |
steps: | |
- name: Checkout the repository | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Find Version | |
id: version | |
run: | | |
declare -i newpost | |
version=$(python setup.py --version) | |
echo Version from setup.py: $version | |
echo "::set-output name=version::$version" | |
- name: Run Release Drafter | |
uses: release-drafter/[email protected] | |
with: | |
tag: ${{ steps.version.outputs.version }} | |
name: Version ${{ steps.version.outputs.version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |