]> git.proxmox.com Git - debcargo-conf.git/commitdiff
Fix concatenation of commands proposed by release.sh
authorWolfgang Silbermayr <wolfgang@silbermayr.at>
Mon, 23 May 2022 18:14:26 +0000 (20:14 +0200)
committerWolfgang Silbermayr <wolfgang@silbermayr.at>
Mon, 23 May 2022 18:14:26 +0000 (20:14 +0200)
In a short correspondence in the #debian-rust chatroom, dkg and I
coincided that the concatenation of the `git merge -` command should be
a `&&` instead of the `&`, which would make it happen unconditionally
and possibly too early, and we don't think this is the intention here.

release.sh

index db72aaf67d8e488940d0555ff35f3572ca9de93a..9ac5a27d09fe92a7d24512d06ce25754f74d8bf9 100755 (executable)
@@ -203,11 +203,11 @@ cat <<eof
 Since the source package is already in Debian and this version does not introduce
 new binaries, then you can just go ahead and directly dput the source package.
 
-  cd build && dput ${DEBSRC}_${DEBVER}_source.changes && git checkout - & git merge -
+  cd build && dput ${DEBSRC}_${DEBVER}_source.changes && git checkout - && git merge -
 
 If you want to build and test it, run:
 
-  cd build && ./build.sh $CRATE && dput ${DEBSRC}_${DEBVER}_source.changes && git checkout - & git merge -
+  cd build && ./build.sh $CRATE && dput ${DEBSRC}_${DEBVER}_source.changes && git checkout - && git merge -
 
 For your reference, this source package builds $(echo "$upload_bin_packages" | wc -l) binary package(s):
 $upload_bin_packages