File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,11 @@ git add README-sdk.md
119
119
echo " $version " > UPSTREAM-VERSION
120
120
git add UPSTREAM-VERSION
121
121
122
+ # Edit the version in the patch so that -ocp is properly appended
123
+ sed -i.bak -e " s/+export SIMPLE_VERSION=.*/+export SIMPLE_VERSION = ${version} -ocp/" patches/03-setversion.patch
124
+ rm -f patches/03-setversion.patch.bak
125
+ git add patches/03-setversion.patch
126
+
122
127
# just to make sure an old version merge is not being made
123
128
git diff --staged --quiet && { echo " No changed files in merge?! Aborting." ; exit 1; }
124
129
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ diff -up ./Makefile.setversion ./Makefile
7
7
# Build-time variables to inject into binaries
8
8
- export SIMPLE_VERSION = $(shell (test "$(shell git describe)" = "$(shell git describe --abbrev=0)" && echo $(shell git describe)) || echo $(shell git describe --abbrev=0)+git)
9
9
- export GIT_VERSION = $(shell git describe --dirty --tags --always)
10
- + export SIMPLE_VERSION = v1.10 .1-ocp
10
+ + export SIMPLE_VERSION = v1.13 .1-ocp
11
11
+ export GIT_VERSION = $(SIMPLE_VERSION)
12
12
export GIT_COMMIT = $(shell git rev-parse HEAD)
13
13
export K8S_VERSION = 1.19.4
You can’t perform that action at this time.
0 commit comments