Skip to content

Commit

Permalink
ADD: Changelog to relase builds
Browse files Browse the repository at this point in the history
  • Loading branch information
EverythingSuckz authored Jul 6, 2022
1 parent eb0a89a commit cec2358
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
rm -rf ${{ github.WORKSPACE }}/Backend/.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.10.4'
- name: Setup Frontend
run: |
gh repo clone DesterLib/Frontend ${{ github.WORKSPACE }}/Frontend
Expand Down Expand Up @@ -48,11 +52,14 @@ jobs:
cd ${{ github.WORKSPACE }}
- name: Package Desktop
run: mv ${{ github.WORKSPACE }}/Frontend/dist/Dester.Desktop.*.exe ${{ github.WORKSPACE }}/Dester.Desktop.v${{ env.VERSION }}.exe
- name: Generate CHANGELOG
run: RELEASE_BODY=$(curl -s https://gist.githubusercontent.com/EverythingSuckz/d74acde00ea0ed9415ec5b2b7872f343/raw/b78b240c495f0017d124962b7723f9f603c46ff6/changelogs.py | python)
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
Dester.v${{ env.VERSION }}.zip
Dester.Desktop.v${{ env.VERSION }}.exe
prerelease: true
tag_name: v${{ env.VERSION }}
body: ${{ env.RELEASE_BODY }}
tag_name: v${{ env.VERSION }}

0 comments on commit cec2358

Please sign in to comment.