Skip to content

Commit

Permalink
Make sure release asset is zipped with its directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Apr 12, 2024
1 parent 291848b commit 831a3b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:

- name: Generate plugin asset
run: |
rsync -rc --exclude-from="$GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" release/ --delete --delete-excluded
mkdir -p release/host-analyticsjs-local
rsync -rc --exclude-from="$GITHUB_WORKSPACE/.distignore" "$GITHUB_WORKSPACE/" release/host-analyticsjs-local/ --delete --delete-excluded
cd "${GITHUB_WORKSPACE}/release" || exit
zip -r "${GITHUB_WORKSPACE}/host-analyticsjs-local.zip" .
Expand Down

0 comments on commit 831a3b2

Please sign in to comment.