mirror of
https://github.com/Mo3he/Axis_Cam_Tailscale.git
synced 2026-10-01 12:05:37 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d1ff5e8a6 | ||
|
|
7655028477 | ||
|
|
f890d8df1a | ||
|
|
df0756a64d | ||
|
|
df2cf84c6c | ||
|
|
f420e7d24c | ||
|
|
3dc49f1254 | ||
|
|
2005ba32db | ||
|
|
1f9c6a9e45 | ||
|
|
6148fc3298 | ||
|
|
bd60c24b5b | ||
|
|
7926c58b3d |
@@ -2,7 +2,7 @@ name: Auto Build & Release Tailscale ACAP
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 3 * * 1" # Every Monday at 03:00 UTC
|
- cron: "0 0 * * *" # Every Monday at 03:00 UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -20,8 +20,28 @@ jobs:
|
|||||||
- name: Get latest Tailscale version
|
- name: Get latest Tailscale version
|
||||||
id: tailscale_version
|
id: tailscale_version
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(curl -s https://api.github.com/repos/tailscale/tailscale/releases/latest | jq -r .tag_name)
|
# 1. Start from GitHub latest
|
||||||
VERSION=${VERSION#v} # remove leading 'v'
|
GH_TAG=$(curl -s https://api.github.com/repos/tailscale/tailscale/releases/latest | jq -r .tag_name)
|
||||||
|
GH_VERSION=${GH_TAG#v}
|
||||||
|
|
||||||
|
echo "GitHub latest: $GH_VERSION"
|
||||||
|
|
||||||
|
# 2. See if static ARM build exists for that version
|
||||||
|
if curl -sfI "https://pkgs.tailscale.com/stable/tailscale_${GH_VERSION}_arm.tgz" > /dev/null; then
|
||||||
|
VERSION="$GH_VERSION"
|
||||||
|
echo "Using GitHub latest (has ARM package): $VERSION"
|
||||||
|
else
|
||||||
|
echo "No ARM package for $GH_VERSION, falling back to latest version on pkgs.tailscale.com"
|
||||||
|
# 3. Derive latest version that actually has an ARM tarball
|
||||||
|
VERSION=$(
|
||||||
|
curl -s https://pkgs.tailscale.com/stable/ \
|
||||||
|
| grep -o 'tailscale_[0-9.]*_arm\.tgz' \
|
||||||
|
| sed -E 's/^tailscale_([0-9.]+)_arm\.tgz$/\1/' \
|
||||||
|
| sort -V | tail -n1
|
||||||
|
)
|
||||||
|
echo "Fallback version: $VERSION"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
|
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
@@ -128,8 +148,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
# Only commit manifests; do not track release artifacts
|
||||||
git add */app/manifest.json releases/*
|
git add */app/manifest.json
|
||||||
if git diff --cached --quiet; then
|
if git diff --cached --quiet; then
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -1,2 +1,10 @@
|
|||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
**/build
|
**/build
|
||||||
|
|
||||||
|
# Do not track release artifacts
|
||||||
|
releases/
|
||||||
|
build/
|
||||||
|
|
||||||
|
# Do not track downloaded Tailscale tarballs and temp bins
|
||||||
|
tailscale_bins/
|
||||||
|
*.tgz
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -8,7 +8,7 @@
|
|||||||
"embeddedSdkVersion": "3.0",
|
"embeddedSdkVersion": "3.0",
|
||||||
"vendorUrl": "https://www.tailscale.com",
|
"vendorUrl": "https://www.tailscale.com",
|
||||||
"runMode": "once",
|
"runMode": "once",
|
||||||
"version": "1.90.1",
|
"version": "1.92.3",
|
||||||
"architecture": "aarch64"
|
"architecture": "aarch64"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"vendorUrl": "https://www.tailscale.com",
|
"vendorUrl": "https://www.tailscale.com",
|
||||||
"runMode": "once",
|
"runMode": "once",
|
||||||
"version": "1.90.1",
|
"version": "1.92.3",
|
||||||
"architecture": "aarch64"
|
"architecture": "aarch64"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -8,7 +8,7 @@
|
|||||||
"embeddedSdkVersion": "3.0",
|
"embeddedSdkVersion": "3.0",
|
||||||
"vendorUrl": "https://www.tailscale.com",
|
"vendorUrl": "https://www.tailscale.com",
|
||||||
"runMode": "respawn",
|
"runMode": "respawn",
|
||||||
"version": "1.90.1"
|
"version": "1.92.3"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
"settingPage": "index.html",
|
"settingPage": "index.html",
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -8,7 +8,7 @@
|
|||||||
"embeddedSdkVersion": "3.0",
|
"embeddedSdkVersion": "3.0",
|
||||||
"vendorUrl": "https://www.tailscale.com",
|
"vendorUrl": "https://www.tailscale.com",
|
||||||
"runMode": "once",
|
"runMode": "once",
|
||||||
"version": "1.90.1",
|
"version": "1.92.3",
|
||||||
"architecture": "armv7hf"
|
"architecture": "armv7hf"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"vendorUrl": "https://www.tailscale.com",
|
"vendorUrl": "https://www.tailscale.com",
|
||||||
"runMode": "once",
|
"runMode": "once",
|
||||||
"version": "1.90.1",
|
"version": "1.92.3",
|
||||||
"architecture": "armv7hf"
|
"architecture": "armv7hf"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
|
|||||||
Reference in New Issue
Block a user