Skip to content

Commit 6a5c139

Browse files
authored
Merge pull request #144 from pradipd/pipelines-fix
Fixing release pipeline
2 parents b2783a3 + fddad5b commit 6a5c139

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ set-manifest-pull-policy:
268268
## --------------------------------------
269269

270270
#RELEASE_TAG := $(shell git describe --abbrev=0 2>/dev/null)
271-
RELEASE_TAG := $(TAG)
271+
RELEASE_TAG ?= $(TAG)
272272
RELEASE_DIR := out
273273

274274
$(RELEASE_DIR):

azure-pipelines-release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ steps:
3838
exit 1
3939
fi
4040
41-
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller PATCH_VER=$(RELEASE_TAG) docker-build docker-push
42-
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller PATCH_VER=$(RELEASE_TAG) release
43-
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller PATCH_VER=$(RELEASE_TAG) generate-flavors
44-
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller PATCH_VER=$(RELEASE_TAG) release-pipelines
41+
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller RELEASE_TAG=$(RELEASE_TAG) docker-build docker-push
42+
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller RELEASE_TAG=$(RELEASE_TAG) release
43+
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller RELEASE_TAG=$(RELEASE_TAG) generate-flavors
44+
make REGISTRY=ecpacr.azurecr.io IMAGE_NAME=caphcontroller RELEASE_TAG=$(RELEASE_TAG) release-pipelines
4545
workingDirectory: '$(System.DefaultWorkingDirectory)'
4646
displayName: 'Build CAPH'
4747

0 commit comments

Comments
 (0)