diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 692fc8f..8c71013 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -80,3 +80,27 @@ jobs: exit 1 fi echo "::notice::serving $served" + + notes: + name: Release notes on the Releases tab + needs: [site] + if: ${{ github.ref_type == 'tag' }} + runs-on: build + permissions: + contents: write + steps: + - name: Clone this repository with its tags + env: + READ_TOKEN: ${{ secrets.THEPRA_READ_TOKEN }} + run: | + rm -rf decePubClient + git -c http.extraHeader="Authorization: token $READ_TOKEN" clone -q "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" decePubClient + git -C decePubClient checkout -q "$GITHUB_SHA" + + - name: What changed since the previous v tag, from the commit messages + uses: https://git.thepra.dev/Arasaka/app-stores/changelog@v1 + with: + prefix: v + name: decePub + path: decePubClient + release: 'true'