mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 17:16:59 +02:00
* chore(release): updates kustomize & docs with v0.18.0 Signed-off-by: Michel Loiseleur <michel.loiseleur@traefik.io> * add endpointslices rbac * fix version updater script --------- Signed-off-by: Michel Loiseleur <michel.loiseleur@traefik.io>
14 lines
333 B
Bash
Executable File
14 lines
333 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
PREV_TAG=$1
|
|
NEW_TAG=$2
|
|
|
|
sed -i -e "s/newTag: .*/newTag: ${NEW_TAG}/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}"
|