Compare commits
10 commits
b6d697a7c2
...
f15b7be65b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f15b7be65b | ||
![]() |
1e52772a49 | ||
![]() |
89109c7bc5 | ||
![]() |
c4fbd3c995 | ||
![]() |
f1bb2c7e40 | ||
![]() |
54402547ab | ||
![]() |
f6b89a8255 | ||
![]() |
0d2dcd2de2 | ||
![]() |
81661915e8 | ||
![]() |
db892acc83 |
6 changed files with 40 additions and 6 deletions
24
.github/workflows/sync-to-forgejo.yml
vendored
Normal file
24
.github/workflows/sync-to-forgejo.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: Sync to Forgejo
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
mirror:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout GitHub repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # Henter hele repoet, ikke bare siste commit
|
||||||
|
|
||||||
|
- name: Push to Forgejo
|
||||||
|
run: |
|
||||||
|
git config --global user.name "GitHub Actions"
|
||||||
|
git config --global user.email "actions@github.com"
|
||||||
|
|
||||||
|
git remote add forgejo https://Ferdinand99:${{ secrets.FORGEJO_TOKEN }}@git.opland.net/Ferdinand99/home-assistant-newt-addon.git
|
||||||
|
git push forgejo main
|
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 🔹 Version 1.3.4 - (2025-06-08)
|
||||||
|
- Updated newt version to 1.2.1
|
||||||
|
|
||||||
## 🔹 Version 1.3.3 - (2025-05-21)
|
## 🔹 Version 1.3.3 - (2025-05-21)
|
||||||
- First automated changelog post to Discord!
|
- First automated changelog post to Discord!
|
||||||
- Version Bump
|
- Version Bump
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
[](https://github.com/Ferdinand99/home-assistant-newt-addon/stargazers)
|
[](https://github.com/Ferdinand99/home-assistant-newt-addon/stargazers)
|
||||||
[](https://github.com/Ferdinand99/home-assistant-newt-addon/network/members)
|
[](https://github.com/Ferdinand99/home-assistant-newt-addon/network/members)
|
||||||
|
|
||||||
|
## ⚠️ Issue tracking is moved to discord
|
||||||
---
|
---
|
||||||
|
|
||||||
## 📌 About this Add-on
|
## 📌 About this Add-on
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 🔹 Version 1.3.4 - (2025-06-08)
|
||||||
|
- Updated newt version to 1.2.1
|
||||||
|
|
||||||
|
## 🔹 Version 1.3.4 - (2025-06-08)
|
||||||
|
- Updated newt version to 1.2.1
|
||||||
|
|
||||||
## 🔹 Version 1.3.3 - (2025-05-21)
|
## 🔹 Version 1.3.3 - (2025-05-21)
|
||||||
- First automated changelog post to Discord!
|
- First automated changelog post to Discord!
|
||||||
- Version Bump
|
- Version Bump
|
||||||
|
|
|
@ -7,15 +7,15 @@ RUN apk add --no-cache bash curl jq
|
||||||
# Detect system architecture and download the correct Newt binary
|
# Detect system architecture and download the correct Newt binary
|
||||||
RUN ARCH=$(uname -m) && \
|
RUN ARCH=$(uname -m) && \
|
||||||
if [ "$ARCH" = "x86_64" ]; then \
|
if [ "$ARCH" = "x86_64" ]; then \
|
||||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_amd64; \
|
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_amd64; \
|
||||||
elif [ "$ARCH" = "aarch64" ]; then \
|
elif [ "$ARCH" = "aarch64" ]; then \
|
||||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_arm64; \
|
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_arm64; \
|
||||||
elif [ "$ARCH" = "armv7l" ]; then \
|
elif [ "$ARCH" = "armv7l" ]; then \
|
||||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_arm32; \
|
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_arm32; \
|
||||||
elif [ "$ARCH" = "armv6l" ]; then \
|
elif [ "$ARCH" = "armv6l" ]; then \
|
||||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_arm32v6; \
|
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_arm32v6; \
|
||||||
elif [ "$ARCH" = "riscv64" ]; then \
|
elif [ "$ARCH" = "riscv64" ]; then \
|
||||||
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.1.3/newt_linux_riscv64; \
|
curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.2.1/newt_linux_riscv64; \
|
||||||
else \
|
else \
|
||||||
echo "❌ ERROR: Unsupported architecture: $ARCH"; exit 1; \
|
echo "❌ ERROR: Unsupported architecture: $ARCH"; exit 1; \
|
||||||
fi && \
|
fi && \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: "Newt Add-on"
|
name: "Newt Add-on"
|
||||||
version: "1.3.3"
|
version: "1.3.4"
|
||||||
slug: "newt"
|
slug: "newt"
|
||||||
description: "Runs Newt inside Home Assistant OS"
|
description: "Runs Newt inside Home Assistant OS"
|
||||||
icon: "icon.png"
|
icon: "icon.png"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue