Skip to content

Commit

Permalink
update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EverythingSuckz committed Jan 2, 2023
1 parent 382da1e commit 298ca08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ENV
run: echo "VERSION=$(${{ github.event.head_commit.message }} | sed -r 's/Bump\s+version\s+?(to\s+?)?`?v?([a-z0-9.\-_]+)`?$/\2/')-main" >> $GITHUB_ENV
run: echo "VERSION=$(echo ${{ github.event.head_commit.message }} | sed -r 's/Bump\s+version\s+?(to\s+?)?`?v?([a-z0-9.\-_]+)`?$/\2/')" >> $GITHUB_ENV
- name: Generate CHANGELOGS
run: |
chmod +x .github/workflows/generate_changelogs.sh
Expand All @@ -24,6 +24,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
name: TG-FileStreamBot-v${{ env.VERSION }} (main)
body_path: CHANGELOGS.md
files: |
${{ github.WORKSPACE }}/TG-FileStreamBot-v${{ env.VERSION }}-main.zip
Expand Down

0 comments on commit 298ca08

Please sign in to comment.