Skip to content

Commit

Permalink
fixup! Also copy debs since reprepro is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Jan 24, 2024
1 parent f216a22 commit bb74672
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ def createDebRepo():
Components: main
Description: MariaDB Repository
EOF
#//TEMP save debs until reprepro is working (or aptly)
mkdir ../debs
find .. -maxdepth 1 -type f | xargs cp -t ../debs
cat ../conf/distributions
reprepro -b .. --ignore=wrongsourceversion include $VERSION_CODENAME ../*.changes
"""
Expand Down Expand Up @@ -242,8 +245,7 @@ def uploadDebArtifacts():
COMPONENTS="main main/debug"
fi
mkdir -p /packages/%(prop:tarbuildnum)s/%(prop:buildername)s
cp -r debs/ sha256sums.txt /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/
cd .. && cp -r conf db dists pool /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/
cd .. && cp -r debs conf db dists pool /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/
cat << EOF > /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/mariadb.sources
X-Repolib-Name: MariaDB
Types: deb
Expand Down

0 comments on commit bb74672

Please sign in to comment.