diff --git a/.version b/.version index a960ffb..bc32194 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -MODULE_VERSION=0.1.0 +MODULE_VERSION=0.1.2 diff --git a/Makefile b/Makefile index 2979526..205e047 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,7 @@ define os_error $(error Error: unsuported platform OS_TYPE:$1, OS_ARCH:$2; to mitigate this problem set variable KYMA with absolute path to kyma-cli binary compatible with your operating system and architecture) endef -KYMA_FILE_NAME ?= $(shell ./scripts/local/get_kyma_file_name.sh ${OS_TYPE} ${OS_ARCH}) +KYMA_FILE_NAME ?= $(shell ./scripts/local/get_kyma_file_name.sh) KYMA ?= $(LOCALBIN)/kyma-$(KYMA_STABILITY) .PHONY: kyma diff --git a/module-config.yaml b/module-config.yaml index ab1c44b..05eb368 100644 --- a/module-config.yaml +++ b/module-config.yaml @@ -1,6 +1,6 @@ name: kyma-project.io/module/template-operator channel: regular -version: 0.1.0 +version: 0.1.2 manifest: template-operator.yaml security: sec-scanners-config.yaml defaultCR: ./config/samples/default-sample-cr.yaml diff --git a/scripts/local/get_kyma_file_name.sh b/scripts/local/get_kyma_file_name.sh index da047b7..fbaffd3 100755 --- a/scripts/local/get_kyma_file_name.sh +++ b/scripts/local/get_kyma_file_name.sh @@ -1,9 +1,8 @@ #!/bin/bash function get_kyma_file_name () { - - local _OS_TYPE=$1 - local _OS_ARCH=$2 + _OS_TYPE="$(uname -s)" + _OS_ARCH="$(uname -m)" [ "$_OS_TYPE" == "Linux" ] && [ "$_OS_ARCH" == "x86_64" ] && echo "kyma-linux" || [ "$_OS_TYPE" == "Linux" ] && [ "$_OS_ARCH" == "arm64" ] && echo "kyma-linux-arm" || @@ -12,4 +11,4 @@ function get_kyma_file_name () { [ "$_OS_TYPE" == "Darwin" ] && [ "$_OS_ARCH" == "x86_64" ] && echo "kyma-darwin" } -get_kyma_file_name "$@" +get_kyma_file_name diff --git a/sec-scanners-config.yaml b/sec-scanners-config.yaml index 22cbcde..c9225af 100644 --- a/sec-scanners-config.yaml +++ b/sec-scanners-config.yaml @@ -1,8 +1,8 @@ module-name: template-operator -rc-tag: 0.1.0 +rc-tag: 0.1.2 dev-branch: main protecode: - - europe-docker.pkg.dev/kyma-project/prod/template-operator:0.1.0 + - europe-docker.pkg.dev/kyma-project/prod/template-operator:0.1.2 whitesource: language: golang-mod subprojects: false