Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Muttley committed Jun 8, 2024
1 parent d5034a4 commit e6253ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cp --force LICENSE.txt system/.
cp --force README.md system/.
SYSTEM_VERSION=$(grep -oP '(?<="version": ")[^"]+' system/system.json | tr -d '\n')
perl -pi -E "s|/latest/download/ac2d20\\.zip|/download/release-$SYSTEM_VERSION/ac2d20,zip|" system/system.json
perl -pi -E "s|/latest/download/ac2d20\\.zip|/download/release-$SYSTEM_VERSION/ac2d20.zip|" system/system.json
echo "systemVersion=$SYSTEM_VERSION" >> $GITHUB_ENV
- run: cd system && zip -r ../ac2d20.zip ./*
Expand All @@ -39,9 +39,9 @@ jobs:
uses: ncipollo/release-action@v1
with:
allowUpdates: false
name: release-${{ env.systemVersion }}
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './system/system.json, ./ac2d20.zip'
draft: false
name: release-${{ env.systemVersion }}
prerelease: true
tag: release-${{ env.systemVersion }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e6253ca

Please sign in to comment.