Check the presence of changelog for the latest stable release in History.md (#1999)
* Documentation/History.md: update version format according to git tag for easiest automation * Add test check for changelog of the latest stable version * Add git config permissions routine to test docs via push.yml * scripts/deploy.sh fixes * making shellcheck happy due to false negative in deploy.sh * push.yml: fetch tags for test docs * push.yml: set fetch depth trying to get tags * deploy.sh printf debugging * deploy.sh: remove printf debugging * push.yml: rename step from check_readme to check_docs to reflect its function
This commit is contained in:
6
Makefile
6
Makefile
@@ -144,12 +144,12 @@ docs: $(MKDOCS_YML) Documentation/* Documentation/Flashing/* Documentation/im
|
||||
docs-deploy: $(MKDOCS_YML) Documentation/* Documentation/Flashing/* Documentation/images/*
|
||||
$(MKDOCS) gh-deploy -f $(MKDOCS_YML) -d ../site
|
||||
|
||||
# routine check for autogenerated Documentation/README.md
|
||||
# routine check to verify documentation
|
||||
test-md:
|
||||
@echo ""
|
||||
@echo "---- Checking REAMDE.md... ----"
|
||||
@echo "---- Checking documentation... ----"
|
||||
@echo ""
|
||||
@/bin/sh ./scripts/deploy.sh docs_readme
|
||||
@/bin/sh ./scripts/deploy.sh docs
|
||||
|
||||
# shell style & linter check (github CI version of shellcheck is more recent than alpine one so the latter may not catch some policies)
|
||||
test-sh:
|
||||
|
||||
Reference in New Issue
Block a user