Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Asset Uploading #152

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MODULE_VERSION=0.1.0
MODULE_VERSION=0.1.2
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion module-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 3 additions & 4 deletions scripts/local/get_kyma_file_name.sh
Original file line number Diff line number Diff line change
@@ -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" ||
Expand All @@ -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
4 changes: 2 additions & 2 deletions sec-scanners-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading