Commits

Jakub Wilk  committed f17c632

Rename ‘tools’ as ‘private’.

  • Participants
  • Parent commits 9201ec4

Comments (0)

Files changed (2)

File private/update-version

+#!/bin/sh
+version=${1:?"no version number provided"}
+set -e
+set -x
+dch -m -v "$version" -c doc/changelog
+sed -i -r -e "s/^(__version__) = '[0-9.]+'$/\1 = '$version'/" lib/version.py
+sed -i -r -e "s/<(!ENTITY version) '[0-9.]+'>/<\1 '$version'>/" doc/*.xml

File tools/bump-version

-#!/bin/sh
-version=${1:?"no version number provided"}
-set -e
-set -x
-dch -m -v "$version" -c doc/changelog
-sed -i -r -e "s/^(__version__) = '[0-9.]+'$/\1 = '$version'/" lib/version.py
-sed -i -r -e "s/<(!ENTITY version) '[0-9.]+'>/<\1 '$version'>/" doc/*.xml