Skip to content

Commit

Permalink
Fix GA for diffing settings (#133)
Browse files Browse the repository at this point in the history
* fix settings

* trigger action

* Revert "trigger action"

This reverts commit 5100712.

* add workflow_dispatch
  • Loading branch information
predragnikolic authored Jun 25, 2024
1 parent e3edbfd commit cb06569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
paths:
- 'plugin.py'
workflow_dispatch:

permissions:
pull-requests: write
Expand Down
4 changes: 2 additions & 2 deletions scripts/new_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ tag_from=$1
tag_to=$2

download_rust_by_tag "$tag_from"
settings_from=$(jq ".contributes.configuration.properties" "${RA_REPO_DIR}/editors/code/package.json")
settings_from=$(jq ".contributes.configuration" "${RA_REPO_DIR}/editors/code/package.json")
rm -rf "${RA_REPO_DIR}"

download_rust_by_tag "$tag_to"
settings_to=$(jq ".contributes.configuration.properties" "${RA_REPO_DIR}/editors/code/package.json")
settings_to=$(jq ".contributes.configuration" "${RA_REPO_DIR}/editors/code/package.json")
rm -rf "${RA_REPO_DIR}"

# Returns with error code when there are changes.
Expand Down

0 comments on commit cb06569

Please sign in to comment.