Skip to content

Commit

Permalink
fix: Woops there were some spaces :upside_down:
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Oct 12, 2024
1 parent 20c2a43 commit 0c3596f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/dev/download_server
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if [ "$CUSTOM_SERVER_REPO" ]; then

echo "$PREFIX Checking for server updates from $CUSTOM_SERVER_REPO"

export GITHUB_API = "https://api.github.com/repos/$CUSTOM_SERVER_REPO/releases/$CUSTOM_SERVER_TAG"
export LATEST_RELEASE_DATE=$(curl -s "$GITHUB_API" | jq -r '.published_at' 2>/dev/null)
export CURRENT_RELEASE_DATE=$(getfattr --only-values -n user.release-date "$CUSTOM_SERVER" 2>/dev/null)
GITHUB_API="https://api.github.com/repos/$CUSTOM_SERVER_REPO/releases/$CUSTOM_SERVER_TAG"
LATEST_RELEASE_DATE=$(curl -s "$GITHUB_API" | jq -r '.published_at' 2>/dev/null)
CURRENT_RELEASE_DATE=$(getfattr --only-values -n user.release-date "$CUSTOM_SERVER" 2>/dev/null)

echo "$PREFIX Latest release date: $LATEST_RELEASE_DATE"
echo "$PREFIX Current release date: $CURRENT_RELEASE_DATE"
Expand Down

0 comments on commit 0c3596f

Please sign in to comment.