Skip to content

Commit

Permalink
Update version and fix release GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbreyfogle committed Oct 23, 2024
1 parent 101f5ce commit 1252e1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
lfs: true
- name: Retrieve version
run: |
echo "::set-output name=TAG_NAME::$(grep -i -o -P '(?<=version=\")[^\"]+(?=\")' setup.py)"
echo "name=TAG_NAME::$(grep -i -o -P '(?<=version=\")[^\"]+(?=\")' setup.py)" > "$GITHUB_OUTPUT"
id: version
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
Expand All @@ -24,10 +24,12 @@ jobs:
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# This token is provided by Actions, you do not need to create your
# own token
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.TAG_NAME }}
release_name: Release ${{ steps.version.outputs.TAG_NAME }}
name: Release ${{ steps.version.outputs.TAG_NAME }}
body: ${{steps.changelog.outputs.changelog}}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="descript-audiotools",
version="0.7.3",
version="0.7.4",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Education",
Expand Down

0 comments on commit 1252e1d

Please sign in to comment.