Skip to content

Commit

Permalink
build: add diff since last release to Dalamud PR
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Aug 24, 2022
1 parent aa1de59 commit 5564deb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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 }})).*

0 comments on commit 5564deb

Please sign in to comment.