Bump ruff from 0.4.7 to 0.4.8 (#572) #197
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/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Find Version | |
id: version | |
run: | | |
declare -i newpost | |
version=$(cat python_scripts/shellies_discovery.py | grep 'VERSION' | head -1 | sed -n 's/VERSION = "\(.*\)"/\1/p') | |
echo Version from shellies_discovery.py: $version | |
echo "::set-output name=version::$version" | |
- name: Run Release Drafter | |
uses: release-drafter/release-drafter@v6.0.0 | |
with: | |
tag: ${{ steps.version.outputs.version }} | |
name: Version ${{ steps.version.outputs.version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |