Skip to content

Commit

Permalink
another one
Browse files Browse the repository at this point in the history
  • Loading branch information
joephela committed Jan 18, 2024
1 parent 4cbf8c9 commit cc41e75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cc41e75

Please sign in to comment.