Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4dbbdad

Browse files
committed
fix: correct version matching pattern in tag update script
1 parent dd86a9b commit 4dbbdad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scripts/update_tags_and_docs.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ echo "Extracted version: ${BOOKSTACK_VERSION}"
1616
# Remove the 'v' for our tags
1717
BOOKSTACK_VERSION="${BOOKSTACK_VERSION/#v/}"
1818
# Remove leading zeros to make the version fit a SemVer-shaped hole
19-
BOOKSTACK_VERSION="${BOOKSTACK_VERSION//.0?/.}"
19+
BOOKSTACK_VERSION="${BOOKSTACK_VERSION/.0/.}"
2020

2121
# If the version only has one decimal dot in it, it doesn't have a patch
2222
# version and one should be added to ensure semver-shape.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /