Compare commits
No commits in common. "bece326d844a79fe32ef1fc8388d7c260ca54d66" and "a510718e70ed2c2b92e9b361b0b4c2f052b68a5b" have entirely different histories.
bece326d84
...
a510718e70
2 changed files with 4 additions and 7 deletions
|
@ -18,9 +18,8 @@ for apk in $apkgs; do
|
||||||
# if draft, send to -testing branch
|
# if draft, send to -testing branch
|
||||||
branch="$branch-testing"
|
branch="$branch-testing"
|
||||||
else
|
else
|
||||||
for delarch in x86_64 aarch64 armv7 armhf s390x ppc64le riscv64 loongarch64 x86; do
|
# if not draft, assume that this was sent to $branch-testing and nuke it
|
||||||
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$delarch/$name 2>&1 > /dev/null
|
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch-testing/$arch/$name
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Sending $name of arch $arch to $TARGET_REPO/$BASEBRANCH/$branch"
|
echo "Sending $name of arch $arch to $TARGET_REPO/$BASEBRANCH/$branch"
|
||||||
|
@ -28,9 +27,7 @@ for apk in $apkgs; do
|
||||||
echo $return
|
echo $return
|
||||||
if [ "$return" == "package file already exists" ]; then
|
if [ "$return" == "package file already exists" ]; then
|
||||||
echo "Package already exists, refreshing..."
|
echo "Package already exists, refreshing..."
|
||||||
for delarch in x86_64 aarch64 armv7 armhf s390x ppc64le riscv64 loongarch64 x86; do
|
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$arch/$name
|
||||||
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN -X DELETE $TARGET_REPO/$BASEBRANCH/$branch/$delarch/$name 2>&1 > /dev/null
|
|
||||||
done
|
|
||||||
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch
|
curl -s --user $FORGE_REPO_USER:$FORGE_REPO_TOKEN --upload-file $apk $TARGET_REPO/$BASEBRANCH/$branch
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
@ -4,7 +4,7 @@ pkgname=py3-tenant-schemas-celery
|
||||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
_pkgreal=tenant-schemas-celery
|
_pkgreal=tenant-schemas-celery
|
||||||
pkgver=2.2.0
|
pkgver=2.2.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Celery integration for django-tenant-schemas and django-tenants"
|
pkgdesc="Celery integration for django-tenant-schemas and django-tenants"
|
||||||
url="https://pypi.python.org/project/tenant-schemas-celery"
|
url="https://pypi.python.org/project/tenant-schemas-celery"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue