Skip to content

Commit

Permalink
chore: Avoid adding remote origin in release script (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
shorim authored Dec 8, 2023
1 parent d8eb0c4 commit 0095f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ undeploy-dev: ## Undeploy resources based on the development variant from the K8
##@ Release Module

.PHONY: release
release: kyma kustomize ## Create module with its image pushed to prod registry and create a github release entry
KYMA=${KYMA} KUSTOMIZE=${KUSTOMIZE} IMG=${IMG} GORELEASER_VERSION=${GORELEASER_VERSION} ./hack/release.sh
release: kustomize ## Prepare release artefacts and create a GitHub release
KUSTOMIZE=${KUSTOMIZE} IMG=${IMG} GORELEASER_VERSION=${GORELEASER_VERSION} ./hack/release.sh

##@ Build Dependencies

Expand Down
1 change: 0 additions & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ function prepare_release_artefacts() {

function create_github_release() {
echo "Creating the Github release"
git remote add origin https://github.com/kyma-project/telemetry-manager
git reset --hard
curl -sL https://git.io/goreleaser | VERSION=${GORELEASER_VERSION} bash
}
Expand Down

0 comments on commit 0095f6d

Please sign in to comment.