From f419b8c8eaa66dedf9ae515c9348f199ca0de39f Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Tue, 2 Nov 2021 10:29:52 +0000 Subject: [PATCH] :arrow_up: Updating add-on Example to 8975ece --- README.md | 6 +++--- example/CHANGELOG.md | 1 + example/README.md | 4 ++-- example/config.json | 24 ------------------------ example/config.yaml | 19 +++++++++++++++++++ 5 files changed, 25 insertions(+), 29 deletions(-) delete mode 100644 example/config.json create mode 100644 example/config.yaml diff --git a/README.md b/README.md index cf0b4ba8e..86a28f563 100644 --- a/README.md +++ b/README.md @@ -755,10 +755,10 @@ SOFTWARE. [bookstack-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [bookstack-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [bookstack-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-example]: https://github.com/hassio-addons/addon-example/tree/b1670cf -[addon-doc-example]: https://github.com/hassio-addons/addon-example/blob/b1670cf/README.md +[addon-example]: https://github.com/hassio-addons/addon-example/tree/8975ece +[addon-doc-example]: https://github.com/hassio-addons/addon-example/blob/8975ece/README.md [example-issue]: https://github.com/hassio-addons/addon-example/issues -[example-version-shield]: https://img.shields.io/badge/version-b1670cf-blue.svg +[example-version-shield]: https://img.shields.io/badge/version-8975ece-blue.svg [example-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [example-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [example-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg diff --git a/example/CHANGELOG.md b/example/CHANGELOG.md index 0f7120be6..a24975e50 100644 --- a/example/CHANGELOG.md +++ b/example/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog since v4.2.1 +- Migrate JSON add-on config to YAML (#102) - Fix typo in deploy workflow - Fix missing dispatch token in deploy workflow - Fix missing deploy workflow diff --git a/example/README.md b/example/README.md index afba7d115..e286ca759 100644 --- a/example/README.md +++ b/example/README.md @@ -56,5 +56,5 @@ If you are more interested in stable releases of our add-ons: [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg -[release-shield]: https://img.shields.io/badge/version-b1670cf-blue.svg -[release]: https://github.com/hassio-addons/addon-example/tree/b1670cf \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-8975ece-blue.svg +[release]: https://github.com/hassio-addons/addon-example/tree/8975ece \ No newline at end of file diff --git a/example/config.json b/example/config.json deleted file mode 100644 index ddd80d0a0..000000000 --- a/example/config.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Example", - "version": "b1670cf", - "slug": "example", - "description": "Example add-on by Community Home Assistant Add-ons", - "url": "https://github.com/hassio-addons/addon-example", - "init": false, - "arch": [ - "aarch64", - "amd64", - "armhf", - "armv7", - "i386" - ], - "options": { - "log_level": "info", - "seconds_between_quotes": 5 - }, - "schema": { - "log_level": "list(trace|debug|info|notice|warning|error|fatal)", - "seconds_between_quotes": "int(1,120)" - }, - "image": "ghcr.io/hassio-addons/example/{arch}" -} \ No newline at end of file diff --git a/example/config.yaml b/example/config.yaml new file mode 100644 index 000000000..623b3e67b --- /dev/null +++ b/example/config.yaml @@ -0,0 +1,19 @@ +arch: +- aarch64 +- amd64 +- armhf +- armv7 +- i386 +description: Example add-on by Community Home Assistant Add-ons +image: ghcr.io/hassio-addons/example/{arch} +init: false +name: Example +options: + log_level: info + seconds_between_quotes: 5 +schema: + log_level: list(trace|debug|info|notice|warning|error|fatal) + seconds_between_quotes: int(1,120) +slug: example +url: https://github.com/hassio-addons/addon-example +version: 8975ece