We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80ee19d + 17e799a commit 7277931Copy full SHA for 7277931
Makefile
@@ -60,6 +60,16 @@ theme-update:
60
echo "Updating to latest academy-theme..." && \
61
hugo mod get github.com/layer5io/academy-theme
62
63
+
64
+## Update a specific Hugo module to a specific version.
65
+update-module:
66
+ @if [ -z "$(module)" ] || [ -z "$(version)" ]; then \
67
+ echo "Usage: make update-module module=<module-path> version=<version>"; \
68
+ exit 1; \
69
+ fi && \
70
+ echo "Updating Hugo module: $(module) to version $(version)" && \
71
+ hugo mod get $(module)@$(version)
72
73
## Publish Academy build to Layer5 Cloud.
74
## Copy built site from public/ to
75
## ../meshery-cloud/academy directory
0 commit comments