Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
joephela committed Jan 18, 2024
1 parent e3f8131 commit 4cbf8c9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ steps:
NPM_TAG: latest
NODE_AUTH_TOKEN: ACQUIA_JFROG_TOKEN

- 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
- 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
agents:
queue: builder
plugins:
Expand Down

0 comments on commit 4cbf8c9

Please sign in to comment.