aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2021-02-16 01:06:01 +0100
committerGuilhem Moulin <guilhem@fripost.org>2021-02-18 00:42:32 +0100
commitc75bc6c37840b8fc2c57424d24c06a0bfe399de6 (patch)
tree5578c259a4e3b16f3a8cfa797b948223b75dc3b6 /Makefile
parent35ba3f6919fbd4a724383169d16f9eec43a27989 (diff)
client: use "lacme-client/$VERSION" as User-Agent header.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c37c45b..7b0cd1a 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ $(BUILDDIR)/%: %
-- "$@"
release:
- @if ! git diff HEAD --quiet -- ./Changelog ./lacme ./lacme-accountd; then \
+ @if ! git diff HEAD --quiet -- ./Changelog ./lacme ./lacme-accountd ./client; then \
echo "Dirty state, refusing to release!" >&2; \
exit 1; \
fi
@@ -72,9 +72,9 @@ release:
if git rev-parse -q --verify "refs/tags/v$$VERS" >/dev/null; then echo "tag exists" 2>/dev/null; exit 1; fi && \
sed -ri "0,/^( -- .*) .*/ s//\\1 $(shell date -R)/" ./Changelog && \
sed -ri "0,/^(our\\s+\\\$$VERSION\\s*=\\s*)'[0-9.]+'\\s*;/ s//\\1'$$VERS';/" \
- -- ./lacme ./lacme-accountd && \
+ -- ./lacme ./lacme-accountd ./client && \
git commit -m "Prepare new release v$$VERS." \
- -- ./Changelog ./lacme ./lacme-accountd && \
+ -- ./Changelog ./lacme ./lacme-accountd ./client && \
git tag -sm "Release version $$VERS" "v$$VERS"
install: all