Skip to content

Commit

Permalink
build script update
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkLightTuna committed Feb 5, 2024
1 parent 9b49019 commit e7f1b3c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,12 @@ jobs:
tag: ${{ env.TAG }}
body: ${{ github.event.release.body }}

- name: Get Changes between Tags
run: |
PREV_TAG=$(git describe --tags --abbrev=0 ${{ env.TAG }}^)
echo "FILES_CHANGED=$(git diff --name-only $PREV_TAG ${{ env.TAG }})" >> $GITHUB_ENV
echo "CHANGES=$(git log --pretty=format:%s $PREV_TAG..${{ env.TAG }})" >> $GITHUB_ENV
- name: Update Foundry VTT Module Repo
run: |
pip install markdown-it-py --quiet
PREV_TAG=$(git describe --tags --abbrev=0 ${{ env.TAG }}^)
export FILES_CHANGED=$(git diff --name-only "$PREV_TAG" "${{ env.TAG }}")
export CHANGES=$(git log --pretty=format:%s "$PREV_TAG".."${{ env.TAG }}")
python .github/workflows/foundry_release.py
env:
FOUNDRY_PACKAGE_RELEASE_TOKEN: ${{ secrets.FOUNDRY_PACKAGE_RELEASE_TOKEN }}
Expand Down

0 comments on commit e7f1b3c

Please sign in to comment.