Skip to content

Commit

Permalink
cleanup: remove hugo-version-check.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Colstuwjx committed Jan 22, 2020
1 parent 649c3d3 commit d3ba72d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
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.

0 comments on commit d3ba72d

Please sign in to comment.