20 lines
788 B
YAML
20 lines
788 B
YAML
---
|
|
- name: get latest releases
|
|
uri:
|
|
url: https://raw.githubusercontent.com/kbenzie/webcatalog-release-scraper/main/webcatalog-releases.json
|
|
register: releases
|
|
|
|
- set_fact:
|
|
latest: '{{releases.json[0]}}'
|
|
|
|
- include_tasks: '{{ansible_os_family}}.yaml'
|
|
|
|
# TODO: Generate these links from the changelog from 42.0.0 up
|
|
|
|
- debug: msg=https://cdn-2.webcatalog.io/webcatalog/WebCatalog-{{latest.version}}-universal.dmg
|
|
- debug: msg=https://cdn-2.webcatalog.io/webcatalog/WebCatalog%20Setup%20{{latest.version}}.exe
|
|
- debug: msg=https://cdn-2.webcatalog.io/webcatalog/WebCatalog-{{latest.version}}.AppImage
|
|
- debug: msg=https://cdn-2.webcatalog.io/webcatalog/WebCatalog-{{latest.version}}-arm64.AppImage
|
|
|
|
# NOTE: Otherwise use https://github.com/webcatalog/webcatalog-legacy/releases
|