From 96bb80b25c3a4595d441d06cc23847bfefb8ccab Mon Sep 17 00:00:00 2001 From: Remour <109763026+Krught@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:50:02 -0500 Subject: [PATCH 1/5] Update main.yml --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f49326a..b5f82fa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: Exclude unwanted files and create ZIP + run: | + zip -r BeneBlacklist.zip . -x '.github/*' '.gitignore' 'pkgmeta.yaml' - name: Create Release uses: "marvinpinto/action-automatic-releases@latest" with: @@ -19,3 +22,5 @@ jobs: automatic_release_tag: "latest" prerelease: false title: "Todays Build" + files: | + BeneBlacklist.zip From 00269bd6674b5226e1dd9bd3e314957674f563a3 Mon Sep 17 00:00:00 2001 From: Remour <109763026+Krught@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:53:38 -0500 Subject: [PATCH 2/5] Update main.yml --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5f82fa..c9d72e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,12 @@ jobs: uses: actions/checkout@v3 - name: Exclude unwanted files and create ZIP run: | - zip -r BeneBlacklist.zip . -x '.github/*' '.gitignore' 'pkgmeta.yaml' + mkdir temp_zip + zip -r temp_zip/BeneBlacklist.zip . -x '.github/*' '.gitignore' 'pkgmeta.yaml' + timestamp=$(date +"%Y-%m-%d") + zip -r "BeneBlacklist-$timestamp.zip" temp_zip/BeneBlacklist.zip + rm -rf temp_zip + - name: Create Release uses: "marvinpinto/action-automatic-releases@latest" with: @@ -23,4 +28,4 @@ jobs: prerelease: false title: "Todays Build" files: | - BeneBlacklist.zip + BeneBlacklist-*.zip From ec7fd5c19296ddfad9a3680b66a8c48eb3b43be7 Mon Sep 17 00:00:00 2001 From: Remour <109763026+Krught@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:56:25 -0500 Subject: [PATCH 3/5] Update main.yml --- .github/workflows/main.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9d72e7..356c0aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,13 +12,17 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - name: Exclude unwanted files and create ZIP + - name: Create BeneBlacklist folder + run: | + mkdir BeneBlacklist + cp -r !(.github|.gitignore|pkgmeta.yaml) BeneBlacklist/ + + - name: Create ZIP file run: | - mkdir temp_zip - zip -r temp_zip/BeneBlacklist.zip . -x '.github/*' '.gitignore' 'pkgmeta.yaml' timestamp=$(date +"%Y-%m-%d") - zip -r "BeneBlacklist-$timestamp.zip" temp_zip/BeneBlacklist.zip - rm -rf temp_zip + zip -r "BeneBlacklist-$timestamp.zip" BeneBlacklist + rm -rf BeneBlacklist + - name: Create Release uses: "marvinpinto/action-automatic-releases@latest" From 8ac009b7a065219ad2cee00b70ea24f68c216f55 Mon Sep 17 00:00:00 2001 From: Remour <109763026+Krught@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:58:11 -0500 Subject: [PATCH 4/5] Update main.yml --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 356c0aa..d38b20e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,8 @@ jobs: - name: Create BeneBlacklist folder run: | mkdir BeneBlacklist - cp -r !(.github|.gitignore|pkgmeta.yaml) BeneBlacklist/ + find . -maxdepth 1 -type f ! -name '*.github' ! -name '.gitignore' ! -name 'pkgmeta.yaml' -exec cp -r {} BeneBlacklist \; + - name: Create ZIP file run: | From f47eb046c32634593008ded0edef58a62031c84d Mon Sep 17 00:00:00 2001 From: Remour <109763026+Krught@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:59:34 -0500 Subject: [PATCH 5/5] Update main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d38b20e..0f63b01 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,8 +20,7 @@ jobs: - name: Create ZIP file run: | - timestamp=$(date +"%Y-%m-%d") - zip -r "BeneBlacklist-$timestamp.zip" BeneBlacklist + zip -r "BeneBlacklist-wrath.zip" BeneBlacklist rm -rf BeneBlacklist