summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-10-19 16:10:39 +0200
committerBjörn Mattsson <bjorn@sunet.se>2023-10-19 16:10:39 +0200
commit8cb549e65a96a0de0297a36a1a56ae42c3b223fb (patch)
treebeadb5de254f625d70b7e03164785d7f5c423487
parentaf3487b9c4a9b630d88b55c2bcc4bedf257cab4a (diff)
Fixed tagname and test in Makefileconf-2023-10-19-v01
-rw-r--r--Makefile1
-rwxr-xr-xscripts/bump-tag2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9d5b87a..82ce33f 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ update: update-git
update-git:
git checkout master && git reset --hard && git pull
+test: schematest
schematest:
@fail=false ; for x in $(MXML); do test=`xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x 2>&1`; rc=$$?; echo $$test | sed 's/fails to validate/&/;s/validates/&/'; if [ $$rc -gt 0 ]; then fail=true ; fi; done ; if $$fail ; then exit 1 ; fi
diff --git a/scripts/bump-tag b/scripts/bump-tag
index 7cb8507..b85beb8 100755
--- a/scripts/bump-tag
+++ b/scripts/bump-tag
@@ -4,7 +4,7 @@ set -e
git pull
-tagpfx=${tag:="md"}
+tagpfx=${tag:="conf"}
last_tag=`git tag -l "${tagpfx}-*"|sort|tail -1`