Skip to content

Commit

Permalink
Update download links
Browse files Browse the repository at this point in the history
  • Loading branch information
bertfrees committed Dec 22, 2023
1 parent f76883a commit 2c6f331
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/_data/downloads.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Generate with:
## curl -u bertfrees:*** https://api.github.com/repos/daisy/pipeline-assembly/releases | jq --arg version 1.14.16 '.[] | select(.tag_name == ("v"+$version))|{group:"main",version:$version,sort:$version,state:"stable",github_tag:("v"+$version),github_url:.html_url,description:"FIXME",files:.assets|map({platform:.browser_download_url|capture("^.+\\.(?<ext>[^\\.]+)$")["ext"]|(if .=="zip" then "linux" elif .=="deb" then "debian" else "?" end),package:.browser_download_url|capture("^.+\\.(?<ext>[^\\.]+)$")["ext"]|sub("exe";"installer"),content:(if .browser_download_url|endswith(".zip") then ["server", "cli"] else ["server"] end),url:.browser_download_url,size:.size})}' | ruby -ryaml -rjson -e 'puts YAML.dump(JSON.load(ARGF))'
## curl -u bertfrees:*** https://api.github.com/repos/daisy/pipeline-ui/releases | jq --arg version 1.2.7-RC1 '.[] | select(.tag_name == $version)|{gui_github_tag:$version,gui_github_url:.html_url,files:.assets|map({platform:.browser_download_url|capture("^.+\\.(?<ext>[^\\.]+)$")["ext"]|(if .=="exe" then "windows" elif.=="dmg" then "macosx" else "?" end),package:.browser_download_url|capture("^.+\\.(?<ext>[^\\.]+)$")["ext"]|sub("exe";"installer"),content:["gui","server"],url:.browser_download_url,size:.size})}' | ruby -ryaml -rjson -e 'puts YAML.dump(JSON.load(ARGF))'
## curl -u bertfrees:*** https://api.github.com/repos/daisy/pipeline-ui/releases | jq --arg version 1.2.7-RC3 '.[] | select(.tag_name == $version)|{gui_github_tag:$version,gui_github_url:.html_url,files:.assets|map({platform:.browser_download_url|capture("^.+\\.(?<ext>[^\\.]+)$")["ext"]|(if .=="exe" then "windows" elif.=="dmg" then "macosx" else "?" end),package:.browser_download_url|capture("^.+\\.(?<ext>[^\\.]+)$")["ext"]|sub("exe";"installer"),content:["gui","server"],url:.browser_download_url,size:.size})}' | ruby -ryaml -rjson -e 'puts YAML.dump(JSON.load(ARGF))'
## curl -u bertfrees:*** https://api.github.com/repos/daisy/pipeline-cli-go/releases | jq --arg version 2.1.7 '.[] | select(.tag_name == ("v"+$version))|{group:"main",version:$version,state:"stable",github_tag:("v"+$version),github_url:.html_url,files:.assets|map({platform:.browser_download_url|capture("^.+/cli-\\Q"+$version+"\\E-(?<platform>[^\\.]+)\\.zip$")["platform"]|(if .=="windows_amd64" then "windows-64" elif .=="windows_386" then "windows-32" elif .=="linux_amd64" then "linux-64" elif .=="linux_386" then "linux-32" elif .=="darwin_amd64" then "macosx" else "?" end),package:"zip",content: "cli", url:.browser_download_url,size:.size})}' | ruby -ryaml -rjson -e 'puts YAML.dump(JSON.load(ARGF))'

- group: main
Expand All @@ -18,13 +18,13 @@
- platform: macosx
package: dmg
content: [gui, server]
url: "https://github.com/daisy/pipeline-ui/releases/download/1.2.7-RC1/daisy-pipeline-2023-setup-1.2.7-RC1.dmg"
size: 191566963
url: "https://github.com/daisy/pipeline-ui/releases/download/1.2.7-RC3/daisy-pipeline-2023-setup-1.2.7-RC3.dmg"
size: 191640573
- platform: windows
package: installer
content: [gui, server]
url: "https://github.com/daisy/pipeline-ui/releases/download/1.2.7-RC1/daisy-pipeline-2023-setup-1.2.7-RC1.exe"
size: 145116184
url: "https://github.com/daisy/pipeline-ui/releases/download/1.2.7-RC3/daisy-pipeline-2023-setup-1.2.7-RC3.exe"
size: 145115920
- platform: debian
package: deb
content: [server]
Expand Down

0 comments on commit 2c6f331

Please sign in to comment.