We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc03250 commit 80188acCopy full SHA for 80188ac
hooks/pre-push
@@ -1,7 +1,7 @@
1
#!/bin/sh
2
3
if [ "$(git branch --show-current)" = master ]; then
4
- MAIN=cmake-init/__main__.py
+ MAIN=cmake-init/cmake_init.py
5
VERSION="v$(grep -oP '^__version__ = "\K\d(\.\d+){2}' "${MAIN}")"
6
if [ -n "$(git ls-remote --tags origin "${VERSION}")" ]; then
7
echo "${VERSION} already exists remotely, bump the version" >&2
0 commit comments