Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 3751fa7

Browse files
committed
tweaking
1 parent ed62bf9 commit 3751fa7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,13 @@ jobs:
6565
key: cypress-cache-{{ .Environment.CACHE_VERSION }}-{{ checksum "yarn.lock" }}
6666
- run:
6767
name: Build and test panel
68-
command: yarn build
68+
command: |
69+
sed -e "s/%VERSION%/$(cat package.json | jq .version | tr -d '\"')/" -e "s/%TODAY%/$(date)/" ./src/plugin.json.tmpl > ./src/plugin.json
70+
yarn build
6971
- run:
7072
name: Move results to ci folder
7173
command: |
7274
# Update the plugin.json with up to date info
73-
sed -e "s/%VERSION%/$(cat package.json | jq .version | tr -d '\"')/" -e "s/%TODAY%/$(date)/" ./src/plugin.json > ./dist/plugin.json
7475
mkdir -pv ci/job/build_plugin
7576
mkdir -pv ci/packages
7677
mkdir -pv ci/jobs/package

0 commit comments

Comments
 (0)