mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
update release script
This commit is contained in:
parent
d5b403a9fd
commit
a55530299e
@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
sed -i -e "s/newTag: .*/newTag: $1/g" kustomize/kustomization.yaml
|
|
||||||
git add kustomize/kustomization.yaml
|
|
||||||
git commit -sm "updates kustomize with newly released version"
|
|
13
scripts/version-updater.sh
Executable file
13
scripts/version-updater.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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}"
|
Loading…
Reference in New Issue
Block a user