Skip to content

Commit

Permalink
Update jq definition to handle release label including jq- (#485)
Browse files Browse the repository at this point in the history
JQ was not properly defined with semver parsing from GH release data.
Fixed now. And removed the version check
  • Loading branch information
EliSchleifer authored Sep 21, 2023
1 parent 4baea58 commit 5832920
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tools/jq/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
version: 0.1
downloads:
- name: jq
args:
semver: ${version}=>(?:jq-|)?(?P<semver>.*)
executable: true
downloads:
- os:
linux: linux
cpu:
x86_64: amd64
url: https://github.com/jqlang/jq/releases/download/jq-${version}/jq-linux64
version: <=1.6.0
url: https://github.com/jqlang/jq/releases/download/jq-${semver}/jq-linux64
- os:
macos: darwin
url: https://github.com/jqlang/jq/releases/download/jq-${version}/jq-osx-amd64
version: <=1.6.0
url: https://github.com/jqlang/jq/releases/download/jq-${semver}/jq-osx-amd64
- os:
windows: win
url: https://github.com/jqlang/jq/releases/download/jq-${version}/jq-win64.exe
version: <=1.6.0
url: https://github.com/jqlang/jq/releases/download/jq-${semver}/jq-win64.exe
tools:
definitions:
- name: jq
known_good_version: 1.6
known_good_version: 1.7
download: jq
shims:
- name: jq
Expand Down

0 comments on commit 5832920

Please sign in to comment.