From bd5ba825bc7e982574869e6a5a4daec5a5c05940 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 30 Jun 2019 14:38:50 -0400 Subject: [PATCH] Update submit-builds to support paths --- README.md | 2 -- submit-builds | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ab19539..86e7d7a 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,6 @@ APKBUILDs yourself, be aware that the version numbers here may be outdated. When a new Alpine version is released: 1. Update the Alpine version in build.yml -1. Comment out the custom repo and `./submit-build` with a simple package to - bootstrap the index 1. Update non-sr.ht packages to latest upstream version, or bump pkgrel 1. `./submit-build` everything _except_ for *.sr.ht 1. Update pkgver in *.sr.ht packages, commit & push & run `./submit-build` diff --git a/submit-builds b/submit-builds index 0e424f1..ff502fb 100755 --- a/submit-builds +++ b/submit-builds @@ -28,9 +28,9 @@ for target in $* do if [ "$builds" = "" ] then - builds="'$target'" + builds="'${target#sr.ht/}'" else - builds="$builds, '$target'" + builds="$builds, '${target#sr.ht/}'" fi done sed "s/packages: \\[\\]/packages: [$builds]/g" < build.yml | jq -sR '{ -- 2.45.2