summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-02-22 13:38:41 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-02-22 13:52:42 -0700
commite0d5a0f66d75f3350ecb3cd673ddb7346f8cf3e2 (patch)
tree6289a123e7168a3b69604d8ea741937407131e50
parent291ec9a68729e39c79ba5ac2680a6840dc338ca3 (diff)
downloaddotfiles-e0d5a0f66d75f3350ecb3cd673ddb7346f8cf3e2.tar.gz
set dgit.default.push-subcmd & dgit.default.rpush-subcmd
-rw-r--r--.config/git/config2
-rwxr-xr-xbin/debrel2
-rwxr-xr-xbin/sbuild-preupload2
3 files changed, 4 insertions, 2 deletions
diff --git a/.config/git/config b/.config/git/config
index 67ce2700..e7c10424 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -26,6 +26,8 @@
clean-mode = git-ff
rm-old-changes = true
distro = debian
+ push-subcmd = source
+ rpush-subcmd = built
[dgit-distro "debian"]
keyid = 8DC2487E51ABDD90B5C4753F0F56D0553B6D411B
diff --git a/bin/debrel b/bin/debrel
index 9c869deb..1aca8417 100755
--- a/bin/debrel
+++ b/bin/debrel
@@ -30,7 +30,7 @@ if git show-ref | grep -q "refs/ffq-prev\\|refs/debrebase-last"; then
git debrebase
fi
-dgit push-source "$@"
+dgit push "$@"
git push --follow-tags
# # if origin is not salsa, we might also want to push to salsa
diff --git a/bin/sbuild-preupload b/bin/sbuild-preupload
index a36b9709..e529a7d3 100755
--- a/bin/sbuild-preupload
+++ b/bin/sbuild-preupload
@@ -2,7 +2,7 @@
# run a package build and the full suite of checks that I can do
# locally before an upload. Generally I use this on an UNRELEASED
-# package and then use `dgit push-source` for the actual upload
+# package and then use `dgit push` for the actual upload
set -e