Skip to content

一分钟搭建影视站,支持Docker等部署方式

fix: dont't bump version on other repos Signed-off-by: JohnsonRan <[email protected]>

JohnsonRand9f04ffca69b
diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml
index 801974f..2a520a8 100644
--- a/.github/workflows/version.yml
+++ b/.github/workflows/version.yml
@@ -8,6 +8,7 @@ on:
jobs:
bump-version:
+ if: github.repository == 'bestZwei/LibreTV'
runs-on: ubuntu-latest
env:
TZ: 'Asia/Shanghai'
diff --git a/js/version-check.js b/js/version-check.js
index a7684d9..26f4baf 100644
--- a/js/version-check.js
+++ b/js/version-check.js
@@ -31,7 +31,7 @@ async function checkForUpdates() {
const currentVersion = await currentVersionResponse.text();
// 获取最新版本
- const latestVersionResponse = await fetch('https://raw.githubusercontent.com/JohnsonRan/LibreTV/main/VERSION.txt');
+ const latestVersionResponse = await fetch('https://raw.githubusercontent.com/LibreSpark/LibreTV/main/VERSION.txt');
if (!latestVersionResponse.ok) {
throw new Error('获取最新版本失败');
}