diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e0fad0..cbd3ea9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,6 +84,14 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Find Previous Release + id: findtag + run: | + echo ::set-output name=previous_release::$(git tag --sort "-committerdate" | head -n 1) + - name: Download artifact uses: actions/download-artifact@v2 with: @@ -100,7 +108,7 @@ jobs: run: | cp out/latest.zip DalamudPlugins/autoSweep/latest.zip cp out/autoSweep.json DalamudPlugins/autoSweep/autoSweep.json - cp -r out/images DalamudPlugins/autoSweep/images + cp -r out/images DalamudPlugins/autoSweep/ - name: Create Pull Request uses: peter-evans/create-pull-request@v4 @@ -114,4 +122,4 @@ jobs: body: | ${{ github.event.release.body }} - *This PR was automatically generated by the PaissaHouse build system ([link to run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})).* + *This PR was automatically generated by the PaissaHouse build system ([link to run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}); [diff since last release](https://github.com/${{ github.repository }}/compare/${{ steps.findtag.outputs.previous_release }}...${{ github.event.release.tag_name }})).*