Revert "silent stuff for upload"
This reverts commit a8782b04fdad3cc8fe080afb80eda339a686def9.
Sylvestre Ledru
4 years ago
44 | 44 | uploader="${uploader:-$DEBFULLNAME <$DEBEMAIL>}" |
45 | 45 | sed -i -e 's/^\(overlay.*\)$/\1\nuploaders = ["'"$uploader"'"]/' "$PKGCFG" |
46 | 46 | echo >&2 "$0: Auto-added $uploader to uploaders in debcargo.toml, based on d/copyright" |
47 | # if [ "$uploader" != "$DEBFULLNAME <$DEBEMAIL>" ]; then | |
48 | ## read >&2 -p "$0: You may also want to add yourself; ctrl-c if you want to do that, or press enter to continue... " x | |
49 | # fi | |
47 | if [ "$uploader" != "$DEBFULLNAME <$DEBEMAIL>" ]; then | |
48 | read >&2 -p "$0: You may also want to add yourself; ctrl-c if you want to do that, or press enter to continue... " x | |
49 | fi | |
50 | 50 | fi |
51 | 51 | |
52 | 52 | run_debcargo |
53 | 53 | git add -N "$PKGDIR" |
54 | 54 | |
55 | 55 | if ! git diff --quiet -- "$PKGDIR_REL"; then |
56 | # read -p "Update wrote some changes to $PKGDIR_REL, press enter to git diff..." x || true | |
57 | # git diff -- "$PKGDIR_REL" | |
56 | read -p "Update wrote some changes to $PKGDIR_REL, press enter to git diff..." x || true | |
57 | git diff -- "$PKGDIR_REL" | |
58 | 58 | echo >&2 "-- end of git diff --" |
59 | 59 | fi |
60 | 60 |