Skip to content

Commit b1fe965

Browse files
authored
Added docs tagging in (#30)
1 parent af784c4 commit b1fe965

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

release/release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,14 @@ main() {
5757
cargo update --workspace
5858
make regenerate-charts
5959
local RELEASE_VERSION=$($CARGO_VERSION --show)
60+
local DOCS_VERSION=$(echo "${RELEASE_VERSION}" | sed 's/^\([0-9]\+\.[0-9]\+\)\..*$/\1/')
6061

6162
update_changelog $RELEASE_VERSION
6263

6364
MESSAGE="release $RELEASE_VERSION"
6465
git commit -am "release $RELEASE_VERSION"
6566
git tag -a $RELEASE_VERSION -m "release $RELEASE_VERSION"
67+
git tag -a docs/$DOCS_VERSION -m "docs $DOCS_VERSION"
6668

6769
else
6870
#

0 commit comments

Comments
 (0)