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 f660d1a

Browse files
committed
update from upstream
1 parent 208cafd commit f660d1a

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

‎scripts/update_dockerfile.sh‎

100644100755
File mode changed.

‎scripts/update_tags_and_docs.sh‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@ echo "Tag name: ${BOOKSTACK_VERSION}"
2525
git tag -s -a "${BOOKSTACK_VERSION}" -m "Release version ${BOOKSTACK_VERSION}"
2626
git push --tags
2727

28-
# TODO: Sort VERSION file
29-
# TODO: Update README version
30-
# TODO: Update docker-compose
28+
echo "Extracting old version info.."
29+
OLD_BS_VERSION="$(cat VERSION)"
30+
31+
echo "Updating README and reference docker-compose.yml.."
32+
sed \
33+
-i '' \
34+
-e "s/${OLD_BS_VERSION}/${BOOKSTACK_VERSION}/g" \
35+
"${GIT_ROOT}/README.md" \
36+
"${GIT_ROOT}/docker-compose.yml"
37+
38+
echo "Updating VERSION file.."
39+
echo "${BOOKSTACK_VERSION}" > "${GIT_ROOT}/VERSION"
40+
41+
git add \
42+
"${GIT_ROOT}/README.md" \
43+
"${GIT_ROOT}/docker-compose.yml" \
44+
"${GIT_ROOT}/VERSION"
45+
46+
git commit -S -m "doc: update documentation to reference ${BOOKSTACK_VERSION}"
47+
git push

0 commit comments

Comments
(0)

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