Skip to content

Commit

Permalink
backport of commit 71293af (#2236)
Browse files Browse the repository at this point in the history
Co-authored-by: Curt Bushko <cbushko@gmail.com>
  • Loading branch information
hc-github-team-consul-core and curtbushko authored Jun 1, 2023
1 parent 189002a commit e96a86d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
VERSION = $(shell ./control-plane/build-support/scripts/version.sh control-plane/version/version.go)
CONSUL_IMAGE_VERSION = $(shell ./control-plane/build-support/scripts/consul-version.sh charts/consul/values.yaml)
CONSUL_DATAPLANE_IMAGE_VERSION = $(shell ./control-plane/build-support/scripts/consul-dataplane-version.sh charts/consul/values.yaml)

# ===========> Helm Targets

Expand Down Expand Up @@ -151,6 +152,10 @@ version:
consul-version:
@echo $(CONSUL_IMAGE_VERSION)

consul-dataplane-version:
@echo $(CONSUL_DATAPLANE_IMAGE_VERSION)


# ===========> Release Targets

prepare-release: ## Sets the versions, updates changelog to prepare this repository to release
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
FILE=$1
VERSION=$(yq .global.imageConsulDataplane $FILE)

echo "${VERSION}"

0 comments on commit e96a86d

Please sign in to comment.