Skip to content

Commit

Permalink
Handle redirect fetching templates (#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwolverson authored May 12, 2021
1 parent b46b85c commit 96ea7fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

Bugfixes:
- Fix `docs` command error due to bad templates (#792)

## [0.20.2] - 2021-05-06

Bugfixes:
Expand Down
4 changes: 2 additions & 2 deletions scripts/fetch-templates
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ for version in $versions; do
file1="${templatesDir}/docs-search-app-${version}.js"
if [ ! -f "${file1}" ]; then
echo "Fetching ${file1}";
curl "https://github.com/purescript/purescript-docs-search/releases/download/v${version}/docs-search-app.js" -o ${file1}
curl -L "https://github.com/purescript/purescript-docs-search/releases/download/v${version}/docs-search-app.js" -o ${file1}
fi
file2="${templatesDir}/purescript-docs-search-${version}"
if [ ! -f "${file2}" ]; then
echo "Fetching ${file2}";
curl "https://github.com/purescript/purescript-docs-search/releases/download/v${version}/purescript-docs-search" -o ${file2}
curl -L "https://github.com/purescript/purescript-docs-search/releases/download/v${version}/purescript-docs-search" -o ${file2}
chmod +x "${file2}"
fi
done
2 changes: 1 addition & 1 deletion spago.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.4

name: spago
version: 0.20.2
version: 0.20.3
description: Please see the README on GitHub at <https://github.com/purescript/spago#readme>
homepage: https://github.com/purescript/spago#readme
bug-reports: https://github.com/purescript/spago/issues
Expand Down

0 comments on commit 96ea7fe

Please sign in to comment.