mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-03-18 20:46:17 +00:00
fix: device id in solution follows configuration (#964)
Some checks are pending
Bump Version / Bump Version Workflow (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
docker-build / platform-excludes (push) Waiting to run
docker-build / build (push) Blocked by required conditions
docker-build / merge (push) Blocked by required conditions
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
Some checks are pending
Bump Version / Bump Version Workflow (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
docker-build / platform-excludes (push) Waiting to run
docker-build / build (push) Blocked by required conditions
docker-build / merge (push) Blocked by required conditions
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
Make device id in solution follow actual configuration. Adapt version update to new CI bump workflow design. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
7
Makefile
7
Makefile
@@ -178,18 +178,15 @@ docker-build:
|
||||
@docker compose build
|
||||
|
||||
# Propagete version info to all version files
|
||||
# Take UPDATE_FILES from GitHub action bump-version.yml
|
||||
UPDATE_FILES := $(shell sed -n 's/^[[:space:]]*UPDATE_FILES[[:space:]]*=[[:space:]]*"\([^"]*\)".*/\1/p' \
|
||||
.github/workflows/bump-version.yml)
|
||||
prepare-version: install
|
||||
@echo "Update version to $(VERSION) from version.py in files $(UPDATE_FILES) and doc"
|
||||
$(PYTHON) ./scripts/update_version.py $(VERSION) $(UPDATE_FILES)
|
||||
$(PYTHON) ./scripts/update_version.py $(VERSION)
|
||||
$(PYTHON) ./scripts/convert_lightweight_tags.py
|
||||
$(PYTHON) ./scripts/generate_config_md.py --output-file docs/_generated/config.md
|
||||
$(PYTHON) ./scripts/generate_openapi_md.py --output-file docs/_generated/openapi.md
|
||||
$(PYTHON) ./scripts/generate_openapi.py --output-file openapi.json
|
||||
$(PYTEST) -vv --finalize tests/test_doc.py
|
||||
$(PRECOMMIT) run --all-files
|
||||
@echo "Updated version to $(VERSION) from version.py in config files and doc"
|
||||
|
||||
test-version:
|
||||
echo "Test version information to be correctly set in all version files"
|
||||
|
||||
Reference in New Issue
Block a user