Skip to content

Commit 42c5f9a

Browse files
committed
add etc/tag.sh
1 parent e0b2939 commit 42c5f9a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

etc/tag.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#! /usr/bin/env bash
2+
3+
set -euox pipefail
4+
5+
BASE_TAG="v1.0.1"
6+
TAG="$(git describe --tags --exclude "${BASE_TAG}.*.*" | sed 's/-/./g')"
7+
git tag "${TAG}"
8+
git push origin "${TAG}"

0 commit comments

Comments
 (0)