__prometheus_odoo_license_exporter: Forbid VCS tag from being empty.
This commit is contained in:
parent
cba90c83e4
commit
4fc8f7758d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
VCS_TAG=$(cat "${__object:?}/parameter/version")
|
||||
VCS_URL="https://code.recycled.cloud/RecycledCloud/prometheus-odoo-license-exporter/raw/tag/$VCS_TAG/prometheus-odoo-license-exporter"
|
||||
VCS_URL="https://code.recycled.cloud/RecycledCloud/prometheus-odoo-license-exporter/raw/tag/${VCS_TAG:?}/prometheus-odoo-license-exporter"
|
||||
|
||||
cat << EOF
|
||||
cd /opt/prometheus-odoo-license-exporter
|
||||
|
|
Reference in a new issue