Skip to content

Commit

Permalink
Fetch tags
Browse files Browse the repository at this point in the history
  • Loading branch information
streamer45 committed Aug 15, 2024
1 parent f7dff57 commit 53384d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/test/prepare-plugin.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#/bin/bash
set -x
set -xe

GIT_DEFAULT_BRANCH="main"
GIT_REPO="https://github.com/mattermost/mattermost-plugin-calls"
Expand All @@ -15,9 +15,11 @@ fi

# Build
cd .. && git clone -b ${GIT_BRANCH} https://github.com/mattermost/mattermost-plugin-calls --depth 1 && \
cd mattermost-plugin-calls &&
cd mattermost-plugin-calls && \
git fetch --tags && \
cd standalone && npm ci && cd .. && \
cd webapp && npm ci && cd .. && \
ls -lsa && \
echo 'replace github.com/mattermost/rtcd => ../rtcd' >> go.mod && \ # We need to make sure we compile the plugin with the rtcd changes.
go mod tidy && \
make dist MM_SERVICESETTINGS_ENABLEDEVELOPER=true
Expand Down

0 comments on commit 53384d6

Please sign in to comment.