We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a40bc7 commit 0307b4dCopy full SHA for 0307b4d
start.sh
@@ -125,12 +125,14 @@ function update {
125
if [ ! $? -eq 0 ]; then
126
echo "Updating failed. Please check the repository on GitHub."
127
fi
128
- echo "Pulling current version via git."
129
- git pull
+ echo "Pulling latest release via git."
+ git fetch --tags
130
+ latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
131
+ git checkout $latestTag
132
133
134
- echo "Pulling current images."
135
+ echo "Pulling docker images."
136
docker-compose pull
137
138
0 commit comments