-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb1968e
commit a999e04
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,20 +106,22 @@ jobs: | |
ALIBUILD_TAG: v1.17.11 | ||
ALIBUILD_DISTRO: ${{ matrix.ubuntu_codename }} | ||
DEBIAN_FRONTEND: noninteractive | ||
|
||
steps: | ||
- name: Install prerequisites | ||
run: | | ||
apt update | ||
apt install -y vim git devscripts build-essential lintian debhelper dh-python python3-all python3-setuptools python3-setuptools-scm | ||
cat <<\EOF | gpg --import | ||
${{ secrets.LAUNCHPAD_PPA_GPG_KEY }} | ||
EOF | ||
export GPG_TTY=$(tty) | ||
mkdir -p ~/.gnupg | ||
chmod 700 ~/.gnupg | ||
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf | ||
echo -n "${{ secrets.LAUNCHPAD_PPA_GPG_KEY }}" | gpg --no-tty --batch --import | ||
- name: Build a DEB for Ubuntu and push it to the PPA | ||
run: | | ||
export GPG_TTY=$(tty) | ||
set -x | ||
git clone -b "$ALIBUILD_TAG" https://github.com/alisw/alibuild | ||
git clone https://github.com/alisw/alibuild | ||
cd alibuild | ||
cat <<EOF > debian/changelog | ||
python3-alibuild (${ALIBUILD_TAG#v}+$ALIBUILD_DISTRO) $ALIBUILD_DISTRO; urgency=medium | ||
|
@@ -128,5 +130,5 @@ jobs: | |
-- Giulio Eulisse <[email protected]> $(date -R -u) | ||
EOF | ||
debuild --no-lintian -k48F330BAFFA564EF2383E2B472E9262B5C0D9DE5 -S | ||
debuild --no-lintian -kA3A177D7C6BAD5C044ACAC10F56D273E83B84A47 -S -p"gpg --no-tty" | ||
dput ppa:alisw/ppa "../python3-alibuild_${ALIBUILD_TAG#v}+${ALIBUILD_DISTRO}_source.changes" |