Skip to content

Commit

Permalink
Fix versioning in K8s makefile (elastic#3256)
Browse files Browse the repository at this point in the history
* try to get builds running

* change doc-version

* update k8s file

* fix makefile version fetch

* fix typo

* fix cut command

* Revert change to version file

* tinkering with version strings

* change daemonset template
  • Loading branch information
fearful-symmetry authored and AndersonQ committed Sep 8, 2023
1 parent b9bba4e commit 0b3a797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/kubernetes/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ALL=elastic-agent-standalone elastic-agent-managed

BEAT_VERSION=$(shell grep '^:stack-version:' ../../version/docs/version.asciidoc | cut -c 17- )
BRANCH_VERSION=$(shell grep '^:doc-branch:' ../../version/docs/version.asciidoc | cut -c 14- )
BRANCH_VERSION=$(shell grep '^:stack-version:' ../../version/docs/version.asciidoc | cut -c 17- )

#variables needed for ci-create-kubernetes-templates-pull-request
ELASTIC_AGENT_REPO=kibana
Expand Down Expand Up @@ -117,4 +117,4 @@ $(ALL):
else
echo "No KSM templates generated. Please run: GENERATEKUSTOMIZE=true make ci-create-kustomize "

endif
endif

0 comments on commit 0b3a797

Please sign in to comment.