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

Appearance settings

Commit 4dbbdad

Browse filesBrowse files
committed
fix: correct version matching pattern in tag update script
1 parent dd86a9b commit 4dbbdad
Copy full SHA for 4dbbdad

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎scripts/update_tags_and_docs.sh

Copy file name to clipboardExpand all lines: scripts/update_tags_and_docs.sh
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.