mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-18 14:01:04 +02:00
Bump backup PVC version to v0.1.1
This commit is contained in:
+1
-1
@@ -89,5 +89,5 @@ tags
|
||||
### IntelliJ IDEA ###
|
||||
*.iml
|
||||
|
||||
bin
|
||||
/bin
|
||||
testbin/*
|
||||
@@ -345,6 +345,7 @@ HAS_SEMBUMP := $(shell which $(PROJECT_DIR)/bin/sembump)
|
||||
sembump: # Download sembump locally if necessary
|
||||
@echo "+ $@"
|
||||
ifndef HAS_SEMBUMP
|
||||
mkdir bin
|
||||
wget -O $(PROJECT_DIR)/bin/sembump https://github.com/justintout/sembump/releases/download/v0.1.0/sembump-$(PLATFORM)-amd64
|
||||
chmod +x $(PROJECT_DIR)/bin/sembump
|
||||
endif
|
||||
|
||||
+2
-1
@@ -11,6 +11,7 @@ include $(config)
|
||||
PREFIX?=$(shell pwd)
|
||||
|
||||
VERSION := $(shell cat VERSION.txt)
|
||||
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||
GITCOMMIT := $(shell git rev-parse --short HEAD)
|
||||
GITBRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||
GITUNTRACKEDCHANGES := $(shell git status --porcelain --untracked-files=no)
|
||||
@@ -130,7 +131,7 @@ docker-run: docker-build ## Run the container in docker, you can use EXTRA_ARGS
|
||||
BUMP := patch
|
||||
bump-version: ## Bump the version in the version file. Set BUMP to [ patch | major | minor ]
|
||||
@echo "+ $@"
|
||||
$(eval NEW_VERSION=$(shell sembump --kind $(BUMP) $(VERSION)))
|
||||
$(eval NEW_VERSION=$(shell $(PROJECT_DIR)/../../bin/sembump --kind $(BUMP) $(VERSION)))
|
||||
@echo "Bumping VERSION.txt from $(VERSION) to $(NEW_VERSION)"
|
||||
echo $(NEW_VERSION) > VERSION.txt
|
||||
git add VERSION.txt
|
||||
|
||||
@@ -1 +1 @@
|
||||
v0.1.0
|
||||
v0.1.1
|
||||
|
||||
Reference in New Issue
Block a user