Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: remove hugo-version-check.sh. #18817

Merged
merged 1 commit into from
Feb 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ build: ## Build site with production settings and put deliverables in ./public
build-preview: ## Build site with drafts and future posts enabled
hugo --buildDrafts --buildFuture

deploy-preview: check-hugo-versions ## Deploy preview site via netlify
deploy-preview: ## Deploy preview site via netlify
hugo --enableGitInfo --buildFuture -b $(DEPLOY_PRIME_URL)

functions-build:
Expand All @@ -27,9 +27,9 @@ functions-build:
check-headers-file:
scripts/check-headers-file.sh

production-build: check-hugo-versions build check-headers-file ## Build the production site and ensure that noindex headers aren't added
production-build: build check-headers-file ## Build the production site and ensure that noindex headers aren't added

non-production-build: check-hugo-versions ## Build the non-production site, which adds noindex headers to prevent indexing
non-production-build: ## Build the non-production site, which adds noindex headers to prevent indexing
hugo --enableGitInfo

serve: ## Boot the development server.
Expand All @@ -47,6 +47,3 @@ docker-serve:
test-examples:
scripts/test_examples.sh install
scripts/test_examples.sh run

check-hugo-versions:
scripts/hugo-version-check.sh $(HUGO_VERSION)
7 changes: 0 additions & 7 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
| `upstream_changes.py` | Find what changes occurred between two versions. |
| `test_examples.sh` | This script tests whether a change affects example files bundled in the website. |
| `check-headers-file.sh` | This script checks the headers if you are in a production environment. |
| `hugo-version-check.sh` | This script checks whether your local Hugo version matches the version used in production. |
| `diff_l10n_branches.py` | This script generates a report of outdated contents in `content/<l10n-lang>` directory by comparing two l10n team milestone branches. |


Expand Down Expand Up @@ -71,12 +70,6 @@ This script checks the headers if you are in a production environment.

./scripts/check-headers-file.sh

## hugo-version-check.sh

This script checks whether your local Hugo version matches the version used in production.

./scripts/hugo-version-check.sh

## diff_l10n_branches.py

```
Expand Down
18 changes: 0 additions & 18 deletions scripts/hugo-version-check.sh

This file was deleted.