6
0
Fork 0

__prometheus_odoo_license_exporter: Forbid VCS tag from being empty.

This commit is contained in:
Joachim Desroches 2021-09-16 16:12:09 +02:00
parent cba90c83e4
commit 4fc8f7758d
No known key found for this signature in database
GPG key ID: 6778C9C29C02D691

View file

@ -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