external-dns/scripts/version-updater.sh
2025-03-15 16:06:17 +01:00

14 lines
325 B
Bash
Executable File

#!/bin/bash
set -e
PREV_TAG=$1
NEW_TAG=$2
sed -i -e "s/newTag: .*/newTag: $1/g" kustomize/kustomization.yaml
git add kustomize/kustomization.yaml
sed -i -e "s/${PREV_TAG}/${NEW_TAG}/g" *.md docs/*.md docs/*/*.md
git add *.md docs/*.md docs/*/*.md
git commit -sm "chore(release): updates kustomize & docs with ${NEW_TAG}"