From a1630144bb5c09eceaa0dec5bac48377f2157f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=E1=BA=A3i?= Date: Sun, 8 Sep 2024 03:26:28 +0700 Subject: [PATCH 1/5] docs(readme): add generating PKGBUILD to code snippet --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6b2282b..e3acfb0 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Generate PKGBUILD + run: bash ./generate-pkgbuild.bash + - name: Publish AUR package uses: KSXGitHub/github-actions-deploy-aur@ with: From 88b39eac304723cef47ba1743334198f7a12fe51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=E1=BA=A3i?= Date: Tue, 29 Oct 2024 23:03:02 +0700 Subject: [PATCH 2/5] Add GitHub Sponsors --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 0416acc..8193215 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +github: KSXGitHub # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: khai96_ open_collective: # Collective unavailable ko_fi: # Replace with a single Ko-fi username From 74f3230b18c60d041b86e7691b1494c95d4a1dcb Mon Sep 17 00:00:00 2001 From: Pol Rivero <65060696+pol-rivero@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:30:55 +0100 Subject: [PATCH 3/5] Ensure the copied PKGBUILD has the correct name (#44) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 334f319..ec39181 100755 --- a/build.sh +++ b/build.sh @@ -64,7 +64,7 @@ echo '::endgroup::' echo '::group::Copying files into /tmp/local-repo' { echo "Copying $pkgbuild" - cp -r "$pkgbuild" /tmp/local-repo/ + cp "$pkgbuild" /tmp/local-repo/PKGBUILD } # shellcheck disable=SC2086 # Ignore quote rule because we need to expand glob patterns to copy $assets From 184b3c40ce75c051264c5c0911cd8546011e8171 Mon Sep 17 00:00:00 2001 From: khai96_ Date: Tue, 11 Feb 2025 01:39:20 +0700 Subject: [PATCH 4/5] feat: add `-v` flag to see files being copied --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index ec39181..dec206b 100755 --- a/build.sh +++ b/build.sh @@ -64,13 +64,13 @@ echo '::endgroup::' echo '::group::Copying files into /tmp/local-repo' { echo "Copying $pkgbuild" - cp "$pkgbuild" /tmp/local-repo/PKGBUILD + cp -v "$pkgbuild" /tmp/local-repo/PKGBUILD } # shellcheck disable=SC2086 # Ignore quote rule because we need to expand glob patterns to copy $assets if [[ -n "$assets" ]]; then echo 'Copying' $assets - cp -rt /tmp/local-repo/ $assets + cp -rtv /tmp/local-repo/ $assets fi echo '::endgroup::' From 2ac5a4c1d7035885d46b10e3193393be8460b6f1 Mon Sep 17 00:00:00 2001 From: phenylshima <49227365+phenylshima@users.noreply.github.com> Date: Sun, 16 Feb 2025 14:48:07 +0900 Subject: [PATCH 5/5] fix the position of v option (#46) Co-authored-by: phenylshima <49227365+femshima@users.noreply.github.com> --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index dec206b..34063f6 100755 --- a/build.sh +++ b/build.sh @@ -70,7 +70,7 @@ echo '::group::Copying files into /tmp/local-repo' # Ignore quote rule because we need to expand glob patterns to copy $assets if [[ -n "$assets" ]]; then echo 'Copying' $assets - cp -rtv /tmp/local-repo/ $assets + cp -rvt /tmp/local-repo/ $assets fi echo '::endgroup::'