diff --git a/packs/D/charts/Makefile b/packs/D/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/D/charts/Makefile +++ b/packs/D/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/D/preview/Makefile b/packs/D/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/D/preview/Makefile +++ b/packs/D/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/appserver/charts/Makefile b/packs/appserver/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/appserver/charts/Makefile +++ b/packs/appserver/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/appserver/preview/Makefile b/packs/appserver/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/appserver/preview/Makefile +++ b/packs/appserver/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/csharp/charts/Makefile b/packs/csharp/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/csharp/charts/Makefile +++ b/packs/csharp/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/dropwizard/charts/Makefile b/packs/dropwizard/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/dropwizard/charts/Makefile +++ b/packs/dropwizard/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/dropwizard/preview/Makefile b/packs/dropwizard/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/dropwizard/preview/Makefile +++ b/packs/dropwizard/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/go/charts/Makefile b/packs/go/charts/Makefile index bc02188df..b7434b8f0 100644 --- a/packs/go/charts/Makefile +++ b/packs/go/charts/Makefile @@ -2,7 +2,7 @@ CHART_REPO := http://jenkins-x-chartmuseum:8080 CURRENT=$(pwd) NAME := REPLACE_ME_APP_NAME OS := $(shell uname) -VERSION := $(shell cat ../../VERSION) +RELEASE_VERSION := $(shell cat ../../VERSION) build: clean rm -rf requirements.lock @@ -32,17 +32,17 @@ release: clean tag: ifeq ($(OS),Darwin) - sed -i "" -e "s/version:.*/version: $(VERSION)/" Chart.yaml - sed -i "" -e "s/tag:.*/tag: $(VERSION)/" values.yaml + sed -i "" -e "s/version:.*/version: $(RELEASE_VERSION)/" Chart.yaml + sed -i "" -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else ifeq ($(OS),Linux) - sed -i -e "s/version:.*/version: $(VERSION)/" Chart.yaml + sed -i -e "s/version:.*/version: $(RELEASE_VERSION)/" Chart.yaml sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/$(NAME)|" values.yaml - sed -i -e "s/tag:.*/tag: $(VERSION)/" values.yaml + sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to tag with" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(VERSION)" --allow-empty # if first release then no verion update is performed - git tag -fa v$(VERSION) -m "Release version $(VERSION)" - git push origin v$(VERSION) + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed + git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" + git push origin v$(RELEASE_VERSION) diff --git a/packs/go/preview/Makefile b/packs/go/preview/Makefile index b63aa47a4..8d518084f 100755 --- a/packs/go/preview/Makefile +++ b/packs/go/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/gradle/charts/Makefile b/packs/gradle/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/gradle/charts/Makefile +++ b/packs/gradle/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/gradle/preview/Makefile b/packs/gradle/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/gradle/preview/Makefile +++ b/packs/gradle/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/javascript/charts/Makefile b/packs/javascript/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/javascript/charts/Makefile +++ b/packs/javascript/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/javascript/preview/Makefile b/packs/javascript/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/javascript/preview/Makefile +++ b/packs/javascript/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/liberty/charts/Makefile b/packs/liberty/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/liberty/charts/Makefile +++ b/packs/liberty/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/liberty/preview/Makefile b/packs/liberty/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/liberty/preview/Makefile +++ b/packs/liberty/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/maven/charts/Makefile b/packs/maven/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/maven/charts/Makefile +++ b/packs/maven/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/maven/preview/Makefile b/packs/maven/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/maven/preview/Makefile +++ b/packs/maven/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/python/charts/Makefile b/packs/python/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/python/charts/Makefile +++ b/packs/python/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/python/preview/Makefile b/packs/python/preview/Makefile index b63aa47a4..8d518084f 100755 --- a/packs/python/preview/Makefile +++ b/packs/python/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/ruby/charts/Makefile b/packs/ruby/charts/Makefile index bd29b9c44..a52a3fe67 100644 --- a/packs/ruby/charts/Makefile +++ b/packs/ruby/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s/repository:.*/repository: $(DOCKER_REGISTRY)\/$(ORG)\/$(APP_NAME)/" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/ruby/preview/Makefile b/packs/ruby/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/ruby/preview/Makefile +++ b/packs/ruby/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/rust/charts/Makefile b/packs/rust/charts/Makefile index 88639f8f3..09edbefc5 100644 --- a/packs/rust/charts/Makefile +++ b/packs/rust/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/rust/preview/Makefile b/packs/rust/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/rust/preview/Makefile +++ b/packs/rust/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml diff --git a/packs/scala/charts/Makefile b/packs/scala/charts/Makefile index 653c985f7..a9d9bbb52 100644 --- a/packs/scala/charts/Makefile +++ b/packs/scala/charts/Makefile @@ -39,10 +39,10 @@ else ifeq ($(OS),Linux) sed -i -e "s/repository:.*/repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME/" values.yaml sed -i -e "s/tag:.*/tag: $(RELEASE_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif - git add --all - git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed + git add *.yaml + git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no version update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)" git push origin v$(RELEASE_VERSION) diff --git a/packs/scala/preview/Makefile b/packs/scala/preview/Makefile index dc2c852a6..a26f8f8f7 100755 --- a/packs/scala/preview/Makefile +++ b/packs/scala/preview/Makefile @@ -11,7 +11,7 @@ else ifeq ($(OS),Linux) sed -i -e "s|repository:.*|repository: $(DOCKER_REGISTRY)\/REPLACE_ME_DOCKER_REGISTRY_ORG\/REPLACE_ME_APP_NAME|" values.yaml sed -i -e "s/tag:.*/tag: $(PREVIEW_VERSION)/" values.yaml else - echo "platfrom $(OS) not supported to release from" + echo "platform $(OS) not supported to release from" exit -1 endif echo " version: $(PREVIEW_VERSION)" >> requirements.yaml