We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7ebff commit ab39f54Copy full SHA for ab39f54
scripts/patch_release.sh
@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+git fetch --tags --prune-tags --prune
3
+latest_tag=$(git tag -l --sort=-v:refname | head -n 1)
4
+
5
+new_tag=$(echo "$latest_tag" | awk -F. '{ printf("%s.%s.%s", $1, $2, $3+1) }')
6
7
+git tag "${new_tag}"
8
9
+git push origin "${new_tag}"
0 commit comments