Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "wire-server"]
path = wire-server
url = https://github.com/mohitrajain/wire-server.git
branch = clean-wire-server-docs
url = https://github.com/wireapp/wire-server.git
branch = develop
6 changes: 5 additions & 1 deletion build/build_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CURRENT=$(git branch --show-current)
# using dummy values for user.name and user.email as they are not required for git operations but a requirement for mike to have gh-pages branch
git config --local user.name "Wire Docs"
git config --local user.email "wire-docs-author@wire.com"
git config --local submodule.recurse false

# checking if it is building from a branch
if [ -n "$CURRENT" ]; then
Expand Down Expand Up @@ -59,7 +60,7 @@ git show-ref --tags | while read -r commit tag; do
git checkout $TAG

# pull the submodule
git submodule update --init
git submodule update --init wire-server

# Check if tag exists in mike
if [ -n "${existing_tags[$TAG]}" ]; then
Expand All @@ -76,6 +77,9 @@ git show-ref --tags | while read -r commit tag; do
echo "Tag $TAG does not exist. Deploying..."
$mike deploy --update-aliases "$TAG" "$commit"
fi

# deinit the submodule to avoid issues with the next iteration
git submodule deinit -f wire-server
done

# Set the default tag and create an alias to latest
Expand Down
2 changes: 1 addition & 1 deletion wire-server
Submodule wire-server updated 462 files
Loading