From 68f8088b55f2c63d2affe00912ea2b091f33c9d9 Mon Sep 17 00:00:00 2001 From: toby Date: Fri, 5 Apr 2019 18:09:20 +0000 Subject: [PATCH] drone and gitignore --- .drone.yml | 2 +- .gitignore | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index ee42201..6596a99 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ pipeline: - echo Building ${DRONE_BRANCH/master/experimental} - apt-get update - apt-get install -y sed strongswan frr isc-dhcp-client systemd - - echo "${DEBNAME} (2.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit $(date -R)" >debian/changelog + - echo "${DEBNAME} (2.0.$(TZ=UTC date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit $(TZ=UTC date -R)" >debian/changelog - dpkg-buildpackage --no-sign - ls -lha ../${DEBNAME}_*_all.deb - echo "$SSH_KEY" >/tmp/id_rsa diff --git a/.gitignore b/.gitignore index a02b69b..5e18293 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,11 @@ debian/.debhelper debian/debhelper-build-stamp -debian/wit-network-config/ +debian/*/ +!debian/source/ debian/files -debian/wit-network-config.postinst.debhelper -debian/wit-network-config.prerm.debhelper -debian/wit-network-config.substvars -debian/wit-network-config.debhelper.log +debian/*.postinst.debhelper +debian/*.prerm.debhelper +debian/*.substvars +debian/*.debhelper.log +debian/*.postrm.debhelper debian/changelog