Format manifest file after applying new version (#9480)

feature/default_network_editable
Whymarrh Whitby 4 years ago committed by GitHub
parent 088d4c34f1
commit 92314cc3ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .circleci/config.yml
  2. 1
      .circleci/scripts/release-bump-manifest-version

@ -4,6 +4,8 @@ workflows:
test_and_release: test_and_release:
jobs: jobs:
- create_release_pull_request: - create_release_pull_request:
requires:
- prep-deps
filters: filters:
branches: branches:
only: only:

@ -21,6 +21,7 @@ printf '%s\n' 'Updating the manifest version if needed'
version="${CIRCLE_BRANCH/Version-v/}" version="${CIRCLE_BRANCH/Version-v/}"
updated_manifest="$(jq ".version = \"$version\"" app/manifest/_base.json)" updated_manifest="$(jq ".version = \"$version\"" app/manifest/_base.json)"
printf '%s\n' "$updated_manifest" > app/manifest/_base.json printf '%s\n' "$updated_manifest" > app/manifest/_base.json
yarn prettier --write app/manifest/_base.json
if [[ -z $(git status --porcelain) ]] if [[ -z $(git status --porcelain) ]]
then then

Loading…
Cancel
Save