Publish scanservjs-helm chart for upstream v3.3.0
Validate, publish and promote ScanservJS / chart (push) Successful in 50s
Validate, publish and promote ScanservJS / chart (push) Successful in 50s
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
description=$(git describe --tags --long --match 'v[0-9]*' --dirty)
|
||||
case "$description" in *-dirty) echo 'Refusing to package a dirty tree' >&2; exit 1 ;; esac
|
||||
version=${description#v}
|
||||
case "$version" in *-0-g*) version=${version%%-0-g*} ;; esac
|
||||
printf '%s\n' "$version"
|
||||
Reference in New Issue
Block a user