Commit 1168158e authored by Dominik Charousset's avatar Dominik Charousset

added script for creating git tags

parent 5031fbf4
#!/bin/bash
VERSION=$(grep -oE "set\(LIBCPPA_VERSION_(MAJOR|MINOR|PATCH) [0-9]+" CMakeLists.txt | awk '{ if (NR > 1) printf "." ; printf $2 } END { printf "\n" }')
git tag -a "V$VERSION" -m "version $VERSION"
git push --tags
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment