fix: update repo paths from echo/ to git-echo/ after account migration
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 4s
CI Pipeline / Clippy Lints (push) Successful in 1m3s
CI Pipeline / Rust Unit Tests (push) Successful in 1m23s
CI Pipeline / Security Audit (push) Successful in 4s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 17s
CI Pipeline / Build .deb & Release (push) Has been skipped
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 4s
CI Pipeline / Clippy Lints (push) Successful in 1m3s
CI Pipeline / Rust Unit Tests (push) Successful in 1m23s
CI Pipeline / Security Audit (push) Successful in 4s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 17s
CI Pipeline / Build .deb & Release (push) Has been skipped
This commit is contained in:
@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
@ -94,7 +94,7 @@ jobs:
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
@ -126,7 +126,7 @@ jobs:
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
@ -171,7 +171,7 @@ jobs:
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
@ -207,7 +207,7 @@ jobs:
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
@ -261,7 +261,7 @@ jobs:
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEATOKEN }}
|
||||
GITEA_URL: https://gitea-lxc.moon-dragon.us
|
||||
GITEA_REPO: echo/linux_patch_manager
|
||||
GITEA_REPO: git-echo/linux_patch_manager
|
||||
run: |
|
||||
VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*=.*"\(.*\)"/\1/')
|
||||
DEB=$(ls linux-patch-manager_*.deb)
|
||||
|
||||
@ -7,7 +7,7 @@ Usage:
|
||||
Environment variables:
|
||||
GITEA_TOKEN - API token (required, falls back to GITHUB_TOKEN)
|
||||
GITEA_URL - Gitea base URL (default: http://192.168.2.189:3000)
|
||||
GITEA_REPO - Repository path (default: echo/linux_patch_manager)
|
||||
GITEA_REPO - Repository path (default: git-echo/linux_patch_manager)
|
||||
"""
|
||||
import argparse
|
||||
import json
|
||||
@ -89,7 +89,7 @@ def main():
|
||||
sys.exit(1)
|
||||
|
||||
base_url = os.environ.get("GITEA_URL", "http://192.168.2.189:3000")
|
||||
repo = os.environ.get("GITEA_REPO", "echo/linux_patch_manager")
|
||||
repo = os.environ.get("GITEA_REPO", "git-echo/linux_patch_manager")
|
||||
|
||||
title = f"Release {args.version}"
|
||||
body = (
|
||||
|
||||
Reference in New Issue
Block a user