Compare commits

...

2 Commits

Author SHA1 Message Date
a0bb4f2277
chore(ci): write error message to stderr
Some checks failed
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 26s
Release / publish-chart (push) Failing after 23s
2025-06-04 18:47:02 +02:00
022a4d2155
chore(deps): update dependency volker.raschek/prometheus-fail2ban-exporter-charts to v0.4.11
Some checks failed
Generate README / generate-parameters (pull_request) Successful in 28s
Helm / helm-lint (pull_request) Successful in 17s
Helm / helm-unittest (pull_request) Successful in 17s
Markdown linter / markdown-lint (pull_request) Successful in 28s
Markdown linter / markdown-link-checker (pull_request) Successful in 48s
Helm / helm-lint (push) Successful in 15s
Generate README / generate-parameters (push) Successful in 29s
Helm / helm-unittest (push) Successful in 26s
Markdown linter / markdown-link-checker (push) Successful in 34s
Release / publish-chart (push) Failing after 19s
Markdown linter / markdown-lint (push) Successful in 45s
2025-06-03 22:11:02 +00:00
2 changed files with 6 additions and 7 deletions

View File

@ -4,11 +4,10 @@ set -e
CHART_FILE="Chart.yaml"
if [ ! -f "${CHART_FILE}" ]; then
echo "ERROR: ${CHART_FILE} not found!"
echo "ERROR: ${CHART_FILE} not found!" 1>&2
exit 1
fi
DEFAULT_NEW_TAG="$(git describe --abbrev=0)"
DEFAULT_OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")"
@ -19,7 +18,7 @@ if [ -z "${1}" ]; then
fi
while [ -z "$(git tag --list "${OLD_TAG}")" ]; do
echo "ERROR: Tag '${OLD_TAG}' not found!"
echo "ERROR: Tag '${OLD_TAG}' not found!" 1>&2
read -p "Enter start tag [${DEFAULT_OLD_TAG}]: " OLD_TAG
if [ -z "${OLD_TAG}" ]; then
OLD_TAG="${DEFAULT_OLD_TAG}"
@ -28,7 +27,7 @@ if [ -z "${1}" ]; then
else
OLD_TAG=${1}
if [ -z "$(git tag --list "${OLD_TAG}")" ]; then
echo "ERROR: Tag '${OLD_TAG}' not found!"
echo "ERROR: Tag '${OLD_TAG}' not found!" 1>&2
exit 1
fi
fi
@ -40,7 +39,7 @@ if [ -z "${2}" ]; then
fi
while [ -z "$(git tag --list "${NEW_TAG}")" ]; do
echo "ERROR: Tag '${NEW_TAG}' not found!"
echo "ERROR: Tag '${NEW_TAG}' not found!" 1>&2
read -p "Enter end tag [${DEFAULT_NEW_TAG}]: " NEW_TAG
if [ -z "${NEW_TAG}" ]; then
NEW_TAG="${DEFAULT_NEW_TAG}"
@ -50,7 +49,7 @@ else
NEW_TAG=${2}
if [ -z "$(git tag --list "${NEW_TAG}")" ]; then
echo "ERROR: Tag '${NEW_TAG}' not found!"
echo "ERROR: Tag '${NEW_TAG}' not found!" 1>&2
exit 1
fi
fi

View File

@ -42,7 +42,7 @@ version of the chart must be in sync with the `values.yaml`. Newer *minor* versi
versions can break something!
```bash
CHART_VERSION=0.4.0
CHART_VERSION=0.4.11
helm show values prometheus-exporters/prometheus-fail2ban-exporter --version "${CHART_VERSION}" > values.yaml
```