Skip to content

Commit

Permalink
ci(auto-update): ignore git logs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev committed Dec 23, 2023
1 parent b2f0c60 commit 7518e74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/scripts/auto-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ download_latest () {

newest_hash=$(sha256sum "$BINARY_PATH" | gawk '{print $1}')

echo "$INFO* Downloaded latest release binary!$RESET"
echo "$INFO* Downloaded latest release binary$RESET"
}

build () {
Expand All @@ -83,9 +83,9 @@ update () {
git reset --hard > /dev/null || exit 1

# This way we only pull the main branch
git fetch origin main || exit 1
git switch main || exit 1
git pull || exit 1
git fetch origin main > /dev/null || exit 1
git switch main > /dev/null || exit 1
git pull > /dev/null || exit 1

cd server/ || exit 1

Expand Down

0 comments on commit 7518e74

Please sign in to comment.