From 179fe481e61b66f7d07116d9929c9df1cd4ebcfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pra=C5=BCak?= Date: Tue, 19 Jan 2021 19:08:29 +0100 Subject: [PATCH] Bump version to v0.0.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Prażak --- Makefile | 6 +++--- README.md | 4 ++-- VERSION.txt | 2 +- examples/kubernetes.yaml | 2 +- internal/version/version.go | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index b8d34e9..868b6ea 100644 --- a/Makefile +++ b/Makefile @@ -199,9 +199,9 @@ bump-version: ## Bump the version in the version file. Set BUMP to [ patch | maj @echo "Bumping VERSION.txt from $(VERSION) to $(NEW_VERSION)" @echo $(NEW_VERSION) > VERSION.txt @echo "Updating version from $(VERSION) to $(NEW_VERSION) in README.md" - sed -i s/$(VERSION)/$(NEW_VERSION)/g README.md - sed -i s/$(VERSION)/$(NEW_VERSION)/g internal/version/version.go - sed -i s/$(VERSION)/$(NEW_VERSION)/g examples/kubernetes.yaml + sed -i '' 's/$(VERSION)/$(NEW_VERSION)/g' README.md + sed -i '' 's/$(VERSION)/$(NEW_VERSION)/g' internal/version/version.go + sed -i '' 's/$(VERSION)/$(NEW_VERSION)/g' examples/kubernetes.yaml git add VERSION.txt README.md internal/version/version.go examples/kubernetes.yaml git commit -vseam "Bump version to $(NEW_VERSION)" @echo "Run make tag to create and push the tag for new version $(NEW_VERSION)" diff --git a/README.md b/README.md index 6ff5a88..ac7e99b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # kubedrainer [![Build Status](https://travis-ci.org/VirtusLab/kubedrainer.svg?branch=master)](https://travis-ci.org/VirtusLab/kubedrainer) -[![Binary](https://img.shields.io/badge/binary-v0.0.8-brightgreen.svg)](https://github.com/VirtusLab/kubedrainer/releases/tag/v0.0.8) -[![Container](https://img.shields.io/badge/container-v0.0.8-brightgreen.svg)](https://quay.io/VirtusLab/kubedrainer:v0.0.8) +[![Binary](https://img.shields.io/badge/binary-v0.0.9-brightgreen.svg)](https://github.com/VirtusLab/kubedrainer/releases/tag/v0.0.9) +[![Container](https://img.shields.io/badge/container-v0.0.9-brightgreen.svg)](https://quay.io/VirtusLab/kubedrainer:v0.0.9) [![Go Report Card](https://goreportcard.com/badge/github.com/VirtusLab/kubedrainer)](https://goreportcard.com/report/github.com/VirtusLab/kubedrainer) Kubernetes Node Drainer helps to evict pods from nodes before shutdown. diff --git a/VERSION.txt b/VERSION.txt index 3ce186f..3849426 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v0.0.8 +v0.0.9 diff --git a/examples/kubernetes.yaml b/examples/kubernetes.yaml index 52c2e34..f829f71 100644 --- a/examples/kubernetes.yaml +++ b/examples/kubernetes.yaml @@ -100,7 +100,7 @@ spec: serviceAccountName: kubedrainer containers: - name: kubedrainer - image: quay.io/virtuslab/kubedrainer:v0.0.8 + image: quay.io/virtuslab/kubedrainer:v0.0.9 env: - name: KUBEDRAINER_NODE valueFrom: diff --git a/internal/version/version.go b/internal/version/version.go index 5599f5d..2633bd0 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -3,7 +3,7 @@ package version import "fmt" // VERSION indicates which version of the binary is running. -var VERSION = "v0.0.8" +var VERSION = "v0.0.9" // GITCOMMIT indicates which git hash the binary was built off of var GITCOMMIT = ""