Bump backup PVC version to v0.1.1
This commit is contained in:
parent
a7fb199f98
commit
81374d0857
|
|
@ -89,5 +89,5 @@ tags
|
||||||
### IntelliJ IDEA ###
|
### IntelliJ IDEA ###
|
||||||
*.iml
|
*.iml
|
||||||
|
|
||||||
bin
|
/bin
|
||||||
testbin/*
|
testbin/*
|
||||||
1
Makefile
1
Makefile
|
|
@ -345,6 +345,7 @@ HAS_SEMBUMP := $(shell which $(PROJECT_DIR)/bin/sembump)
|
||||||
sembump: # Download sembump locally if necessary
|
sembump: # Download sembump locally if necessary
|
||||||
@echo "+ $@"
|
@echo "+ $@"
|
||||||
ifndef HAS_SEMBUMP
|
ifndef HAS_SEMBUMP
|
||||||
|
mkdir bin
|
||||||
wget -O $(PROJECT_DIR)/bin/sembump https://github.com/justintout/sembump/releases/download/v0.1.0/sembump-$(PLATFORM)-amd64
|
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
|
chmod +x $(PROJECT_DIR)/bin/sembump
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ include $(config)
|
||||||
PREFIX?=$(shell pwd)
|
PREFIX?=$(shell pwd)
|
||||||
|
|
||||||
VERSION := $(shell cat VERSION.txt)
|
VERSION := $(shell cat VERSION.txt)
|
||||||
|
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||||
GITCOMMIT := $(shell git rev-parse --short HEAD)
|
GITCOMMIT := $(shell git rev-parse --short HEAD)
|
||||||
GITBRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
GITBRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||||
GITUNTRACKEDCHANGES := $(shell git status --porcelain --untracked-files=no)
|
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 := patch
|
||||||
bump-version: ## Bump the version in the version file. Set BUMP to [ patch | major | minor ]
|
bump-version: ## Bump the version in the version file. Set BUMP to [ patch | major | minor ]
|
||||||
@echo "+ $@"
|
@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 "Bumping VERSION.txt from $(VERSION) to $(NEW_VERSION)"
|
||||||
echo $(NEW_VERSION) > VERSION.txt
|
echo $(NEW_VERSION) > VERSION.txt
|
||||||
git add VERSION.txt
|
git add VERSION.txt
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
v0.1.0
|
v0.1.1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue