Skip to content

Commit

Permalink
Delete some trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfeldman committed Aug 11, 2023
1 parent 7908645 commit 2ca3c42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ DESIGN_ASSETS_COMMIT="4d949642ebc56ca455cf270b288382788bce5873"
DESIGN_ASSETS_TARFILE="roc-lang-design-assets-4d94964.tar.gz"
DESIGN_ASSETS_DIR="roc-lang-design-assets-4d94964"

curl -fLJO https://github.com/roc-lang/design-assets/tarball/$DESIGN_ASSETS_COMMIT
curl -fLJO https://github.com/roc-lang/design-assets/tarball/$DESIGN_ASSETS_COMMIT
tar -xzf $DESIGN_ASSETS_TARFILE
mv $DESIGN_ASSETS_DIR/fonts build/
rm -rf $DESIGN_ASSETS_TARFILE $DESIGN_ASSETS_DIR
Expand Down Expand Up @@ -71,7 +71,7 @@ if ! [ -v GITHUB_TOKEN_READ_ONLY ]; then
roc=target/release/roc
else
echo 'Fetching latest roc nightly...'

# get roc release archive
curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
# extract archive
Expand Down Expand Up @@ -124,7 +124,7 @@ if [ -v GITHUB_TOKEN_READ_ONLY ]; then
curl -v -H "Authorization: $GITHUB_TOKEN_READ_ONLY" -fL -o basic_cli_releases.json "https://api.github.com/repos/roc-lang/basic-cli/releases"

DOCS_LINKS=$(cat basic_cli_releases.json | jq -r '.[] | .assets[] | select(.name=="docs.tar.gz") | .browser_download_url')

rm basic_cli_releases.json

VERSION_NUMBERS=$(echo "$DOCS_LINKS" | grep -oP '(?<=/download/)[^/]+(?=/docs.tar.gz)')
Expand Down

0 comments on commit 2ca3c42

Please sign in to comment.