From 97db37e9f2d69f737c4b3912ae1e9c72d9157a17 Mon Sep 17 00:00:00 2001 From: Zachary Klosko Date: Wed, 9 Dec 2020 17:03:49 -0500 Subject: [PATCH] Adding back exclusions, fixing asset_path --- .github/scripts/release.sh | 4 ++++ .github/workflows/package-release.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/scripts/release.sh b/.github/scripts/release.sh index af1df447c..f54c586e3 100644 --- a/.github/scripts/release.sh +++ b/.github/scripts/release.sh @@ -53,6 +53,10 @@ tar -czf libretime-${suffix}.tar.gz \ --exclude .zfproject.xml \ --exclude .gitignore \ --exclude .gitattributes \ + --exclude .travis.yml \ + --exclude travis \ --exclude dev_tools \ + --exclude vendor/phing \ + --exclude vendor/simplepie/simplepie/tests \ libretime echo " Done" diff --git a/.github/workflows/package-release.yml b/.github/workflows/package-release.yml index 86e5e05d3..7289dcc82 100644 --- a/.github/workflows/package-release.yml +++ b/.github/workflows/package-release.yml @@ -40,6 +40,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./libretime-${{ github.ref }}.tar.gz + asset_path: ../libretime-${{ github.ref }}.tar.gz asset_name: libretime-${{ github.ref }}.tar.gz asset_content_type: application/tgz