mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update make docs
procedure (#98398)
Co-authored-by: grafanabot <bot@grafana.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
parent
7fa4786fa3
commit
892b9b0ba4
@ -6,6 +6,14 @@
|
|||||||
# [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes.
|
# [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes.
|
||||||
# Changes are relevant to this script and the support docs.mk GNU Make interface.
|
# Changes are relevant to this script and the support docs.mk GNU Make interface.
|
||||||
#
|
#
|
||||||
|
# ## 8.3.0 (2024-12-27)
|
||||||
|
#
|
||||||
|
# ### Added
|
||||||
|
#
|
||||||
|
# - Debug output of the final command when DEBUG=true.
|
||||||
|
#
|
||||||
|
# Useful to inspect if the script is correctly constructing the final command.
|
||||||
|
#
|
||||||
# ## 8.2.0 (2024-12-22)
|
# ## 8.2.0 (2024-12-22)
|
||||||
#
|
#
|
||||||
# ### Removed
|
# ### Removed
|
||||||
@ -631,7 +639,7 @@ POSIX_HERESTRING
|
|||||||
|
|
||||||
case "${_project}" in
|
case "${_project}" in
|
||||||
# Workaround for arbitrary mounts where the version field is expected to be the local directory
|
# Workaround for arbitrary mounts where the version field is expected to be the local directory
|
||||||
# and the repo field is expected to be the container directory.
|
# and the repo field is expected to be the container directory.
|
||||||
arbitrary)
|
arbitrary)
|
||||||
echo "${_project}^${_version}^${_repo}^" # TODO
|
echo "${_project}^${_version}^${_repo}^" # TODO
|
||||||
;;
|
;;
|
||||||
@ -801,6 +809,10 @@ case "${image}" in
|
|||||||
| sed "s#$(proj_dst "${proj}")#sources#"
|
| sed "s#$(proj_dst "${proj}")#sources#"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ -n "${DEBUG}" ]; then
|
||||||
|
debg "${cmd}"
|
||||||
|
fi
|
||||||
|
|
||||||
case "${OUTPUT_FORMAT}" in
|
case "${OUTPUT_FORMAT}" in
|
||||||
human)
|
human)
|
||||||
if ! command -v jq >/dev/null 2>&1; then
|
if ! command -v jq >/dev/null 2>&1; then
|
||||||
@ -837,6 +849,10 @@ EOF
|
|||||||
/hugo/content/docs
|
/hugo/content/docs
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if [ -n "${DEBUG}" ]; then
|
||||||
|
debg "${cmd}"
|
||||||
|
fi
|
||||||
|
|
||||||
case "${OUTPUT_FORMAT}" in
|
case "${OUTPUT_FORMAT}" in
|
||||||
human)
|
human)
|
||||||
${cmd} --output=line \
|
${cmd} --output=line \
|
||||||
|
Loading…
Reference in New Issue
Block a user