1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Format manifest file after applying new version (#9480)

This commit is contained in:
Whymarrh Whitby 2020-10-06 15:27:59 -02:30 committed by GitHub
parent 088d4c34f1
commit 92314cc3ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -21,6 +21,7 @@ printf '%s\n' 'Updating the manifest version if needed'
version="${CIRCLE_BRANCH/Version-v/}"
updated_manifest="$(jq ".version = \"$version\"" 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) ]]
then