aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rwxr-xr-xci-upload.sh4
-rwxr-xr-xpkgbuild.sh2
3 files changed, 9 insertions, 5 deletions
diff --git a/README.md b/README.md
index 143b9b2..143e588 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,9 @@ KunoiSayami's Arch Linux Community Repository
```
[kunoisayami]
-Server = https://MASKED/repo
+Server = https://MASKED/$repo
```
-to your /etc/pacman.conf .
+to your `/etc/pacman.conf` .
#### Import PGP Keys:
@@ -18,3 +18,7 @@ curl -fL https://keys.openpgp.org/vks/v1/by-fingerprint/4A0F0C8BC709ACA4341767FB
sudo pacman-key --finger 4A0F0C8BC709ACA4341767FB243975C8DB9656B9
sudo pacman-key --lsign-key 4A0F0C8BC709ACA4341767FB243975C8DB9656B9
```
+
+### For developers:
+
+Use commit message starts with `fix(repo)` will let CI/CD rebuild all packages.
diff --git a/ci-upload.sh b/ci-upload.sh
index 5f2ae57..9aa5f1a 100755
--- a/ci-upload.sh
+++ b/ci-upload.sh
@@ -19,9 +19,9 @@ curl -d "token=$UPLOAD_TOKEN&action=REQUIRE_CLEAN" -fsSL "$REMOTE_PATH"
pushd $PKGDEST
for file in *.pkg*; do
- echo "Start upload package $file ..."
+ echo "Start upload package $file size: $(ls -lh $file | awk '{print $5}')..."
curl -F "file=@$file" -F "token=$UPLOAD_TOKEN" -fsSL "$REMOTE_PATH"
- echo "Stop upload package $file"
+ #echo "Stop upload package $file"
done
popd
diff --git a/pkgbuild.sh b/pkgbuild.sh
index 1b44d8b..8f3fc55 100755
--- a/pkgbuild.sh
+++ b/pkgbuild.sh
@@ -53,7 +53,7 @@ if [ $# -gt 0 ] && [ "$1" = "--diff" ]; then
exit 0
fi
-if [ $# -gt 0 ] && [ "$1" = "--all" ]; then
+if [ $# -gt 0 ] && [ "$1" = "--all" ] || [[ $CI_COMMIT_TITLE =~ "fix(repo)" ]]; then
ls $PKGBUILD_DIRECTORY_BASE > "$REPO_DIFF"
else
get_diff_list