From cc41e751d549cb4369c8394212fb4753e803ce06 Mon Sep 17 00:00:00 2001 From: Joseph Phelan Date: Thu, 18 Jan 2024 07:48:09 -0600 Subject: [PATCH] another one --- .buildkite/pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 92a8632d..9c5184dc 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -40,9 +40,9 @@ steps: - label: "Auto version" branches: "master" command: | - TAG_VERSION=$(buildkite-agent meta-data get "tag-version" --default "0.0.0-alpha-$(date +%Y%m%d%H%M%S)") - TAG_VERSION=${TAG_VERSION/v/} - sed 's/"version": "*"/"version": "${TAG_VERSION}"/g' package.json + TAG_VERSION=buildkite-agent meta-data get "tag-version" + TAG_VERSION=TAG_VERSION/v/ + npm version TAG_VERSION--no-git-tag-version agents: queue: builder plugins: