diff --git a/.github/workflows/schema.yml b/.github/workflows/schema.yml index 8bd204a..75ed94a 100644 --- a/.github/workflows/schema.yml +++ b/.github/workflows/schema.yml @@ -6,6 +6,7 @@ on: - main paths: - 'plugin.py' + workflow_dispatch: permissions: pull-requests: write diff --git a/scripts/new_settings.sh b/scripts/new_settings.sh index c9c5592..4147c50 100755 --- a/scripts/new_settings.sh +++ b/scripts/new_settings.sh @@ -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.