Skip to content

Commit a37bfb1

Browse files
authored
fix: Asset Uploading (#152)
<!-- Thank you for your contribution. Before you submit the pull request: 1. Follow contributing guidelines, templates, the recommended Git workflow, and any related documentation. 2. Read and submit the required Contributor Licence Agreements (https://github.com/kyma-project/community/blob/main/CONTRIBUTING.md#agreements-and-licenses). 3. Test your changes and attach their results to the pull request. 4. Update the relevant documentation. If the pull request requires a decision, follow the [decision-making process](https://github.com/kyma-project/community/blob/main/governance.md) and replace the PR template with the [decision record template](https://github.com/kyma-project/community/blob/main/.github/ISSUE_TEMPLATE/decision-record.md). --> **Description** Changes proposed in this pull request: - Fix the selection of Kyma CLI (this will fix the asset uploading Prow Job) - Set Version to 0.1.2 to enable new release **Related issue(s)** <!-- If you refer to a particular issue, provide its number. For example, `Resolves #123`, `Fixes #43`, or `See also #33`. --> Closes #52
1 parent 21d8e24 commit a37bfb1

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
MODULE_VERSION=0.1.0
1+
MODULE_VERSION=0.1.2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ define os_error
186186
$(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)
187187
endef
188188

189-
KYMA_FILE_NAME ?= $(shell ./scripts/local/get_kyma_file_name.sh ${OS_TYPE} ${OS_ARCH})
189+
KYMA_FILE_NAME ?= $(shell ./scripts/local/get_kyma_file_name.sh)
190190
KYMA ?= $(LOCALBIN)/kyma-$(KYMA_STABILITY)
191191

192192
.PHONY: kyma

module-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: kyma-project.io/module/template-operator
22
channel: regular
3-
version: 0.1.0
3+
version: 0.1.2
44
manifest: template-operator.yaml
55
security: sec-scanners-config.yaml
66
defaultCR: ./config/samples/default-sample-cr.yaml
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/bin/bash
22

33
function get_kyma_file_name () {
4-
5-
local _OS_TYPE=$1
6-
local _OS_ARCH=$2
4+
_OS_TYPE="$(uname -s)"
5+
_OS_ARCH="$(uname -m)"
76

87
[ "$_OS_TYPE" == "Linux" ] && [ "$_OS_ARCH" == "x86_64" ] && echo "kyma-linux" ||
98
[ "$_OS_TYPE" == "Linux" ] && [ "$_OS_ARCH" == "arm64" ] && echo "kyma-linux-arm" ||
@@ -12,4 +11,4 @@ function get_kyma_file_name () {
1211
[ "$_OS_TYPE" == "Darwin" ] && [ "$_OS_ARCH" == "x86_64" ] && echo "kyma-darwin"
1312
}
1413

15-
get_kyma_file_name "$@"
14+
get_kyma_file_name

sec-scanners-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module-name: template-operator
2-
rc-tag: 0.1.0
2+
rc-tag: 0.1.2
33
dev-branch: main
44
protecode:
5-
- europe-docker.pkg.dev/kyma-project/prod/template-operator:0.1.0
5+
- europe-docker.pkg.dev/kyma-project/prod/template-operator:0.1.2
66
whitesource:
77
language: golang-mod
88
subprojects: false

0 commit comments

Comments
 (0)