Skip to content

Commit

Permalink
Fix typo in yq command
Browse files Browse the repository at this point in the history
Co-authored-by: Antonio Salazar Cardozo <[email protected]>
  • Loading branch information
henryboldi and Shadowfiend committed Jan 5, 2022
1 parent 7b00862 commit 4dc481f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ echo "$(jq ".version=\"$npm_package_version\"" manifest/manifest.json | yarn -s
git add manifest/manifest.json

# Add version to bug template and stage for version bump commit.
yq e -i '.body[] |= select(has("id")) |= select(.id == "version").attributes.option = ["Community Edition v'$npm_package_version'"] + select(.id == "version").attributes.options' .github/ISSUE_TEMPLATE/BUG.yml
yq e -i '.body[] |= select(has("id")) |= select(.id == "version").attributes.options = ["Community Edition v'$npm_package_version'"] + select(.id == "version").attributes.options' .github/ISSUE_TEMPLATE/BUG.yml
git add .github/ISSUE_TEMPLATE/BUG.yml

0 comments on commit 4dc481f

Please sign in to comment.