]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
maint: more verbose git-tag-release. v1.18
authorKarl Berry <karl@freefriends.org>
Tue, 27 May 2025 15:35:33 +0000 (08:35 -0700)
committerKarl Berry <karl@freefriends.org>
Tue, 27 May 2025 15:35:33 +0000 (08:35 -0700)
* maintainer/maint.mk (git-tag-release): always show command being run.

maintainer/maint.mk

index ee5a25076836d416dcc9b002dffa0acad26326e7..c737369c6b44276ce89c9119af0cf7f79eb8baa6 100644 (file)
@@ -182,11 +182,11 @@ print-release-type:
 git-tag-release: maintainer-check
        @set -e -u; \
        case '$(AM_TAG_DRYRUN)' in \
-         ""|[nN]|[nN]o|NO) run="set -x;";; \
+         ""|[nN]|[nN]o|NO) run=;; \
          *) run="echo Would run:";; \
        esac; \
        $(git_must_have_clean_workdir); \
-       $$run $(GIT) tag -s "v$(VERSION)" -m "$(PACKAGE) $(VERSION)"
+       set -x; $$run $(GIT) tag -s "v$(VERSION)" -m "$(PACKAGE) $(VERSION)"
 
 git-upload-release:
        @# Check this is a version we can cut a release (either test