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
Signed by untrusted user who does not match committer: jdesroches
GPG Key ID: 6778C9C29C02D691
1 changed files with 1 additions and 1 deletions

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