Skip to content

Commit

Permalink
Removing extra line from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
willdavsmith committed Sep 14, 2023
1 parent 33af98a commit 71f1811
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/scripts/release-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ mv docs/config.toml.tmp docs/config.toml
awk '{gsub(/indexName: '\''radapp-dev-edge'\''/, "indexName: '\''radapp-dev'\''"); print}' docs/layouts/partials/hooks/body-end.html > docs/layouts/partials/hooks/body-end.html.tmp
mv docs/layouts/partials/hooks/body-end.html.tmp docs/layouts/partials/hooks/body-end.html

# In docs/content/getting-started/install/index.md, update the binary download links with the new version number
BINARY_STRING_REPLACEMENT=": https:\/\/get\.radapp\.dev\/tools\/rad\/${CHANNEL}\/"
awk -v REPLACEMENT="${BINARY_STRING_REPLACEMENT}" '{gsub(/: https:\/\/get\.radapp\.dev\/tools\/rad\/[^\/]+\//, REPLACEMENT); print}' docs/content/getting-started/install/index.md > docs/content/getting-started/install/index.md.tmp
mv docs/content/getting-started/install/index.md.tmp docs/content/getting-started/install/index.md

# Push changes to GitHub
git add --all
git commit -m "Update docs for ${VERSION}"
Expand Down

0 comments on commit 71f1811

Please sign in to comment.