Skip to content

Commit

Permalink
Add missing -r to go toolchain version check
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Dec 28, 2023
1 parent d0b34bb commit f2ecb28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/toolchain-go/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ packages:
autobump.string_replace: '{ "prefix": "" }'
autobump.prefix: "prefix"
autobump.hook: |
curl -s -L "https://go.dev/dl/?mode=json" |jq '.[0].version'| sed 's/go//g'
curl -s -L "https://go.dev/dl/?mode=json" |jq -r '.[0].version'| sed 's/go//g'
autobump.version_hook: |
curl -s -L "https://go.dev/dl/?mode=json" |jq '.[0].version'| sed 's/go//g'
curl -s -L "https://go.dev/dl/?mode=json" |jq -r '.[0].version'| sed 's/go//g'
- name: toolchain-go
category: development
variant: "alpine"
Expand All @@ -41,9 +41,9 @@ packages:
autobump.string_replace: '{ "prefix": "" }'
autobump.prefix: "prefix"
autobump.hook: |
curl -s -L "https://go.dev/dl/?mode=json" |jq '.[0].version'| sed 's/go//g'
curl -s -L "https://go.dev/dl/?mode=json" |jq -r '.[0].version'| sed 's/go//g'
autobump.version_hook: |
curl -s -L "https://go.dev/dl/?mode=json" |jq '.[0].version'| sed 's/go//g'
curl -s -L "https://go.dev/dl/?mode=json" |jq -r '.[0].version'| sed 's/go//g'
- name: toolchain-go-ubuntu
variant: ""
category: development
Expand All @@ -56,9 +56,9 @@ packages:
autobump.string_replace: '{ "prefix": "" }'
autobump.prefix: "prefix"
autobump.hook: |
curl -s -L "https://go.dev/dl/?mode=json" |jq '.[0].version'| sed 's/go//g'
curl -s -L "https://go.dev/dl/?mode=json" |jq -r '.[0].version'| sed 's/go//g'
autobump.version_hook: |
curl -s -L "https://go.dev/dl/?mode=json" |jq '.[0].version'| sed 's/go//g'
curl -s -L "https://go.dev/dl/?mode=json" |jq -r '.[0].version'| sed 's/go//g'
- name: toolchain-go
category: fips
variant: "alpine"
Expand Down

0 comments on commit f2ecb28

Please sign in to comment.