-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cole Miller <[email protected]>
- Loading branch information
1 parent
efcad52
commit 3e419d7
Showing
1 changed file
with
38 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: debug gpg | ||
on: [push, pull_request] | ||
jobs: | ||
do-it: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone the repositories | ||
run: | | ||
git clone https://github.com/canonical/dqlite | ||
git clone https://github.com/canonical/dqlite-ppa -b dqlite --depth 1 | ||
- name: Setup dependencies | ||
run: | | ||
sudo apt-get update -qq | ||
sudo apt-get install -qq debhelper devscripts gnupg | ||
- name: Generate dummy key | ||
run: | | ||
echo $(tty) | ||
gpg --batch --pinentry-mode loopback --passphrase '' --quick-generate-key 'nobody <[email protected]>' | ||
- name: Build source package | ||
env: | ||
DEBFULLNAME: "nobody" | ||
DEBEMAIL: "[email protected]" | ||
TARGET: noble | ||
run: | | ||
cp -R dqlite-ppa/debian dqlite/ | ||
cd dqlite/ | ||
VERSION="$(git describe --tags | sed -e "s/^v//" -e "s/-/+git/")" | ||
dch --create \ | ||
--distribution ${TARGET} \ | ||
--package dqlite \ | ||
--newversion ${VERSION}~${TARGET}1 \ | ||
"Automatic build from Github" | ||
debuild --no-lintian -S -sa -d -us -uc | ||
ls | ||
debsign -m nobody *.changes |