chore: update repository links after organization transfer
This commit is contained in:
@@ -15,7 +15,7 @@ DEFAULT_LIVE_MANIFEST_URL = "https://herdr.dev/latest.json"
|
||||
|
||||
SECTION_RE = re.compile(r"^##\s+(?:\[(?P<bracketed>[^\]]+)\]|(?P<plain>.+?))\s*$", re.MULTILINE)
|
||||
VERSION_WITH_DATE_RE = re.compile(r"^(?P<version>.+?)\s+-\s+\d{4}-\d{2}-\d{2}$")
|
||||
DEFAULT_RELEASE_REPO = "ogulcancelik/herdr"
|
||||
DEFAULT_RELEASE_REPO = "herdrdev/herdr"
|
||||
DEFAULT_LATEST_JSON_PATH = Path("website/latest.json")
|
||||
DEFAULT_PRODUCT_ANNOUNCEMENT_PATH = Path("docs/next/product-announcement.json")
|
||||
PROTOCOL_SOURCE_PATH = Path("src/protocol/wire.rs")
|
||||
|
||||
+2
-2
@@ -299,13 +299,13 @@ def main() -> int:
|
||||
notes.add_argument("--commit", required=True)
|
||||
notes.add_argument("--build-id", required=True)
|
||||
notes.add_argument("--base-version", required=True)
|
||||
notes.add_argument("--repo", default="ogulcancelik/herdr")
|
||||
notes.add_argument("--repo", default="herdrdev/herdr")
|
||||
notes.add_argument("--output", required=True)
|
||||
notes.set_defaults(func=cmd_notes)
|
||||
|
||||
manifest = sub.add_parser("manifest")
|
||||
manifest.add_argument("--output", default="website/preview.json")
|
||||
manifest.add_argument("--repo", default="ogulcancelik/herdr")
|
||||
manifest.add_argument("--repo", default="herdrdev/herdr")
|
||||
manifest.add_argument("--tag", required=True)
|
||||
manifest.add_argument("--build-id", required=True)
|
||||
manifest.add_argument("--commit", required=True)
|
||||
|
||||
@@ -76,10 +76,10 @@ class ChangelogScriptTests(unittest.TestCase):
|
||||
self.assertEqual(
|
||||
manifest["assets"],
|
||||
{
|
||||
"linux-x86_64": "https://github.com/ogulcancelik/herdr/releases/download/v0.1.1/herdr-linux-x86_64",
|
||||
"linux-aarch64": "https://github.com/ogulcancelik/herdr/releases/download/v0.1.1/herdr-linux-aarch64",
|
||||
"macos-x86_64": "https://github.com/ogulcancelik/herdr/releases/download/v0.1.1/herdr-macos-x86_64",
|
||||
"macos-aarch64": "https://github.com/ogulcancelik/herdr/releases/download/v0.1.1/herdr-macos-aarch64",
|
||||
"linux-x86_64": "https://github.com/herdrdev/herdr/releases/download/v0.1.1/herdr-linux-x86_64",
|
||||
"linux-aarch64": "https://github.com/herdrdev/herdr/releases/download/v0.1.1/herdr-linux-aarch64",
|
||||
"macos-x86_64": "https://github.com/herdrdev/herdr/releases/download/v0.1.1/herdr-macos-x86_64",
|
||||
"macos-aarch64": "https://github.com/herdrdev/herdr/releases/download/v0.1.1/herdr-macos-aarch64",
|
||||
},
|
||||
)
|
||||
self.assertEqual(manifest["releases"]["0.1.1"]["assets"], manifest["assets"])
|
||||
|
||||
@@ -31,7 +31,7 @@ class PreviewNotesTests(unittest.TestCase):
|
||||
notes = "Preview notes\n"
|
||||
content = preview.build_manifest(
|
||||
output=output,
|
||||
repo="ogulcancelik/herdr",
|
||||
repo="herdrdev/herdr",
|
||||
tag="preview-2026-06-02-abcdef123456",
|
||||
build_id="2026-06-02-abcdef123456",
|
||||
commit="abcdef1234567890",
|
||||
@@ -54,7 +54,7 @@ class PreviewNotesTests(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(
|
||||
data["assets"]["windows-x86_64"]["url"],
|
||||
"https://github.com/ogulcancelik/herdr/releases/download/preview-2026-06-02-abcdef123456/herdr-windows-x86_64.zip",
|
||||
"https://github.com/herdrdev/herdr/releases/download/preview-2026-06-02-abcdef123456/herdr-windows-x86_64.zip",
|
||||
)
|
||||
self.assertEqual(
|
||||
data["assets"]["windows-x86_64"]["sha256"],
|
||||
@@ -68,7 +68,7 @@ class PreviewNotesTests(unittest.TestCase):
|
||||
with self.assertRaisesRegex(ValueError, "windows-x86_64 requires"):
|
||||
preview.build_manifest(
|
||||
output=Path(tmp) / "preview.json",
|
||||
repo="ogulcancelik/herdr",
|
||||
repo="herdrdev/herdr",
|
||||
tag="preview-test",
|
||||
build_id="test",
|
||||
commit="abcdef",
|
||||
@@ -192,7 +192,7 @@ title: Install Herdr
|
||||
import ConfigReference from '../../components/ConfigReference.astro';
|
||||
|
||||
[Install](/docs/install/)
|
||||
[Skill](https://github.com/ogulcancelik/herdr/blob/master/SKILL.md)
|
||||
[Skill](https://github.com/herdrdev/herdr/blob/master/SKILL.md)
|
||||
file: ../../../public/assets/logo.svg
|
||||
"""
|
||||
output = subprocess.check_output(
|
||||
|
||||
Reference in New Issue
Block a user