From cec23586ced01f7aca24f02e0e7979c58487ee75 Mon Sep 17 00:00:00 2001 From: wrench Date: Wed, 6 Jul 2022 11:05:22 -0700 Subject: [PATCH] ADD: Changelog to relase builds --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a0acdc..42aefd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -48,6 +52,8 @@ 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: @@ -55,4 +61,5 @@ jobs: 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 }} \ No newline at end of file