From 5e0f5ed4c0e9f2d146ec85eee2286ded1bc74063 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 14 Feb 2026 20:18:04 +0800 Subject: chore(ci): Disable Musl platform in CI workflow Comment out the Musl platform configuration for CI. --- .github/workflows/semifold-ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index 9a91518..8aecd90 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -24,12 +24,12 @@ jobs: name: "Linux x86_64 (GNU)" target: "x86_64-unknown-linux-gnu" args: "--target x86_64-unknown-linux-gnu" - - platform: "ubuntu-latest" - name: "Linux x86_64 (Musl)" - target: "x86_64-unknown-linux-musl" - args: "--target x86_64-unknown-linux-musl" - install-musl: true - pkg-config-allow-cross: true + # - platform: "ubuntu-latest" + # name: "Linux x86_64 (Musl)" + # target: "x86_64-unknown-linux-musl" + # args: "--target x86_64-unknown-linux-musl" + # install-musl: true + # pkg-config-allow-cross: true - platform: "ubuntu-24.04-arm" name: "Linux arm64" target: "aarch64-unknown-linux-gnu" -- cgit v1.2.3-70-g09d2 From bf0d4d52bd4cecb67c1fc2bdbd3cedbc3e6ccdc3 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Mon, 23 Feb 2026 21:31:27 +0800 Subject: ci(curseforge): add curseforge api key --- .github/workflows/prek.yml | 4 ++++ .github/workflows/semifold-ci.yaml | 1 + .github/workflows/test.yml | 1 + 3 files changed, 6 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/prek.yml b/.github/workflows/prek.yml index 5362472..3785c62 100644 --- a/.github/workflows/prek.yml +++ b/.github/workflows/prek.yml @@ -8,6 +8,10 @@ on: permissions: contents: write +env: + CARGO_TERM_COLOR: always + CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} + jobs: prek: runs-on: ubuntu-latest diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index 8aecd90..b28fefd 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -6,6 +6,7 @@ on: env: CARGO_TERM_COLOR: always CLICOLOR_FORCE: 1 + CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} permissions: id-token: write diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b58d10e..c292997 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ permissions: env: CARGO_TERM_COLOR: always + CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} jobs: test: -- cgit v1.2.3-70-g09d2 From 46ad16a5b8a971259ddf0b92cee42bb77a2beca6 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Mon, 23 Feb 2026 23:50:44 +0800 Subject: ci(build): remove windows gnu --- .github/workflows/semifold-ci.yaml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index b28fefd..27de130 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -25,14 +25,8 @@ jobs: name: "Linux x86_64 (GNU)" target: "x86_64-unknown-linux-gnu" args: "--target x86_64-unknown-linux-gnu" - # - platform: "ubuntu-latest" - # name: "Linux x86_64 (Musl)" - # target: "x86_64-unknown-linux-musl" - # args: "--target x86_64-unknown-linux-musl" - # install-musl: true - # pkg-config-allow-cross: true - platform: "ubuntu-24.04-arm" - name: "Linux arm64" + name: "Linux arm64 (GNU)" target: "aarch64-unknown-linux-gnu" args: "--target aarch64-unknown-linux-gnu" # macOS @@ -49,13 +43,8 @@ jobs: name: "Windows x86_64 (MSVC)" target: "x86_64-pc-windows-msvc" args: "--target x86_64-pc-windows-msvc --bundles nsis" - - platform: "windows-latest" - name: "Windows x86_64 (GNU)" - target: "x86_64-pc-windows-gnu" - args: "--target x86_64-pc-windows-gnu --bundles nsis" - rustflags: "-C link-arg=-lws2_32" - platform: "windows-11-arm" - name: "Windows arm64" + name: "Windows arm64 (MSVC)" target: "aarch64-pc-windows-msvc" args: "--target aarch64-pc-windows-msvc --bundles nsis" @@ -113,9 +102,7 @@ jobs: uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RUSTFLAGS: ${{ matrix.rustflags || '' }} CARGO_BUILD_TARGET: ${{ matrix.target }} - PKG_CONFIG_ALLOW_CROSS: ${{ matrix.pkg-config-allow-cross && '1' || '' }} with: args: ${{ matrix.args }} -- cgit v1.2.3-70-g09d2 From 8ff3af6cb908fd824b512379dd21ed4f595ab6bb Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Wed, 25 Feb 2026 02:04:39 +0800 Subject: chore(ci): release to aur --- .changes/config.toml | 12 ++- .github/workflows/semifold-ci.yaml | 1 + .gitignore | 3 + scripts/release-aur.ts | 152 +++++++++++++++++++++++++++++++++++++ 4 files changed, 164 insertions(+), 4 deletions(-) create mode 100644 scripts/release-aur.ts (limited to '.github/workflows') diff --git a/.changes/config.toml b/.changes/config.toml index dbce913..fa6ca47 100644 --- a/.changes/config.toml +++ b/.changes/config.toml @@ -30,6 +30,10 @@ User-Agent = "Semifold 0.2.10" command = "cargo" args = ["publish"] +[[resolver.rust.publish]] +command = "pnpm" +args = ["tsx", "scripts/release-aur.ts"] + [[resolver.rust.post-version]] command = "pnpm" args = ["bump-tauri"] @@ -40,8 +44,8 @@ url = "https://registry.npmjs.org/{{ package.name }}/{{ package.version }}" [[resolver.nodejs.publish]] command = "npm" args = [ - "publish", - "--provenance", - "--access", - "public", + "publish", + "--provenance", + "--access", + "public", ] diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index 27de130..aad64ab 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -7,6 +7,7 @@ env: CARGO_TERM_COLOR: always CLICOLOR_FORCE: 1 CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} + AUR_SSH_KEY: ${{ secrets.AUR_SSH_PRIVATE_KEY }} permissions: id-token: write diff --git a/.gitignore b/.gitignore index b3a0dbf..5d6d0f3 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,6 @@ __pycache__/ # Tauri artifacts artifacts/ + +# AUR Release +release/ diff --git a/scripts/release-aur.ts b/scripts/release-aur.ts new file mode 100644 index 0000000..d1fed87 --- /dev/null +++ b/scripts/release-aur.ts @@ -0,0 +1,152 @@ +import { execSync } from "node:child_process"; +import { + existsSync, + mkdirSync, + readFileSync, + unlinkSync, + writeFileSync, +} from "node:fs"; +import path from "node:path"; +import { version as pkgver } from "../src-tauri/tauri.conf.json"; + +function getSHA256Sum(url: string) { + const response = execSync(`curl -L ${url} | sha256sum`); + return response.toString().split(" ")[0]; +} + +execSync("mkdir -p release", { stdio: "inherit" }); +process.chdir("release"); + +const basePath = process.cwd(); +const homePath = process.env.HOME ?? basePath; +const sshPath = path.resolve(homePath, ".ssh"); +if (!existsSync(sshPath)) { + mkdirSync(sshPath, { recursive: true }); +} + +const url = "https://github.com/HydroRoll-Team/DropOut"; +const x86_64Url = `${url}/releases/download/dropout-v${pkgver}/dropout_${pkgver}_amd64.deb`; +const aarch64Url = `${url}/releases/download/dropout-v${pkgver}/dropout_${pkgver}_arm64.deb`; +const PKGBUILD = `\ +# Maintainer: HsiangNianian +# Contributor: 苏向夜 +pkgname=dropout-bin +pkgver=${pkgver} +pkgrel=1 +pkgdesc="A modern, reproducible, and developer-grade Minecraft launcher" +arch=('x86_64' 'aarch64') +url="${url}" +license=('MIT') +depends=('cairo' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libsoup' 'pango' 'webkit2gtk-4.1') +options=('!strip' '!debug') +install=dropout-bin.install +source_x86_64=("${x86_64Url}") +source_aarch64=("${aarch64Url}") +sha256sums_x86_64=('${getSHA256Sum(x86_64Url)}') +sha256sums_aarch64=('${getSHA256Sum(aarch64Url)}') +package() { + # Extract package data + tar -xvf data.tar.gz -C "\${pkgdir}" +} +`; +const INSTALL = `\ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +}`; + +// Check if AUR_SSH_KEY environment variable is set +const AUR_SSH_KEY = process.env.AUR_SSH_KEY; +if (!AUR_SSH_KEY) { + console.error("AUR_SSH_KEY environment variable is not set."); + process.exit(1); +} + +// Remove old SSH key file if it exists +const aurSSHKeyPath = path.resolve(sshPath, "aur"); +if (existsSync(aurSSHKeyPath)) { + unlinkSync(aurSSHKeyPath); +} + +// Write new SSH key file +writeFileSync(aurSSHKeyPath, `${AUR_SSH_KEY}\n`); +execSync(`chmod 400 ${aurSSHKeyPath}`); + +// Add aur to known hosts +const knownHostsPath = path.resolve(sshPath, "known_hosts"); +if (existsSync(knownHostsPath)) { + const knownHosts = readFileSync(knownHostsPath, { + encoding: "utf-8", + }); + if (!knownHosts.includes("aur.archlinux.org")) { + execSync( + `ssh-keyscan -v -t "rsa,ecdsa,ed25519" aur.archlinux.org >> ~/.ssh/known_hosts`, + { stdio: "inherit" }, + ); + } +} else { + execSync( + `ssh-keyscan -v -t "rsa,ecdsa,ed25519" aur.archlinux.org > ~/.ssh/known_hosts`, + { stdio: "inherit" }, + ); +} + +// Clone AUR repository if not exists +if (!existsSync("aur")) { + execSync( + `git -c init.defaultBranch=master -c core.sshCommand="ssh -i ${aurSSHKeyPath}" clone ssh://aur@aur.archlinux.org/clip-bridge-bin.git aur`, + { stdio: "inherit" }, + ); +} +execSync(`git -C aur config core.sshCommand "ssh -i ${aurSSHKeyPath}"`, { + stdio: "inherit", +}); + +// Write PKGBUILD and .install files +const pkgbuildPath = path.resolve("aur", "PKGBUILD"); +const installPath = path.resolve("aur", "dropout-bin.install"); +writeFileSync(pkgbuildPath, PKGBUILD); +writeFileSync(installPath, INSTALL); + +// Generate .SRCINFO file +execSync("makepkg --printsrcinfo > .SRCINFO", { + cwd: "aur", + stdio: "inherit", +}); + +// Setup Git repository +execSync("git add PKGBUILD .SRCINFO", { + stdio: "inherit", + cwd: "aur", +}); +execSync(`git -C aur config user.name "HsiangNianian"`, { stdio: "inherit" }); +execSync(`git -C aur config user.email "i@jyunko.cn"`, { + stdio: "inherit", +}); + +// Test AUR package (skip in CI) +if (!process.env.CI) { + execSync("makepkg -f", { + stdio: "inherit", + cwd: "aur", + }); +} + +// Publish to AUR +execSync(`git commit -m "release: release v${pkgver}"`, { + stdio: "inherit", + cwd: "aur", +}); +execSync(`git push origin master`, { + stdio: "inherit", + cwd: "aur", +}); -- cgit v1.2.3-70-g09d2 From 025154616863635560cea994c356dcb78e4948ae Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Wed, 25 Feb 2026 02:33:13 +0800 Subject: chore: fix aur script and apply lints --- .github/workflows/check.yml | 8 +-- packages/ui/package.json | 9 --- packages/ui/src/components/ui/spinner.tsx | 15 +++-- pnpm-lock.yaml | 93 ------------------------------- scripts/release-aur.ts | 2 +- 5 files changed, 12 insertions(+), 115 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3cbad39..e4630cd 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -32,11 +32,5 @@ jobs: - run: pnpm install - - run: pnpm check - working-directory: packages/ui - - - run: pnpm lint - working-directory: packages/ui - - - run: pnpm format + - run: pnpm biome ci working-directory: packages/ui diff --git a/packages/ui/package.json b/packages/ui/package.json index a956470..9cb7132 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -11,15 +11,6 @@ }, "dependencies": { "@base-ui/react": "^1.2.0", - "@radix-ui/react-checkbox": "^1.3.3", - "@radix-ui/react-dialog": "^1.1.15", - "@radix-ui/react-label": "^2.1.8", - "@radix-ui/react-scroll-area": "^1.2.10", - "@radix-ui/react-select": "^2.2.6", - "@radix-ui/react-separator": "^1.1.8", - "@radix-ui/react-slot": "^1.2.4", - "@radix-ui/react-switch": "^1.2.6", - "@radix-ui/react-tabs": "^1.1.13", "@tauri-apps/api": "^2.9.1", "@tauri-apps/plugin-dialog": "^2.6.0", "@tauri-apps/plugin-fs": "^2.4.5", diff --git a/packages/ui/src/components/ui/spinner.tsx b/packages/ui/src/components/ui/spinner.tsx index 91f6a63..3753252 100644 --- a/packages/ui/src/components/ui/spinner.tsx +++ b/packages/ui/src/components/ui/spinner.tsx @@ -1,10 +1,15 @@ -import { cn } from "@/lib/utils" -import { Loader2Icon } from "lucide-react" +import { Loader2Icon } from "lucide-react"; +import { cn } from "@/lib/utils"; function Spinner({ className, ...props }: React.ComponentProps<"svg">) { return ( - - ) + + ); } -export { Spinner } +export { Spinner }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2cc2ae4..7661787 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -106,33 +106,6 @@ importers: '@base-ui/react': specifier: ^1.2.0 version: 1.2.0(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-checkbox': - specifier: ^1.3.3 - version: 1.3.3(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-dialog': - specifier: ^1.1.15 - version: 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-label': - specifier: ^2.1.8 - version: 2.1.8(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-scroll-area': - specifier: ^1.2.10 - version: 1.2.10(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-select': - specifier: ^2.2.6 - version: 2.2.6(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-separator': - specifier: ^1.1.8 - version: 1.1.8(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-slot': - specifier: ^1.2.4 - version: 1.2.4(@types/react@19.2.8)(react@19.2.3) - '@radix-ui/react-switch': - specifier: ^1.2.6 - version: 1.2.6(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - '@radix-ui/react-tabs': - specifier: ^1.1.13 - version: 1.1.13(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) '@tauri-apps/api': specifier: ^2.9.1 version: 2.9.1 @@ -1104,19 +1077,6 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-label@2.1.8': - resolution: {integrity: sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-menu@2.1.16': resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==} peerDependencies: @@ -1247,19 +1207,6 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-primitive@2.1.4': - resolution: {integrity: sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-progress@1.1.7': resolution: {integrity: sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg==} peerDependencies: @@ -1338,19 +1285,6 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-separator@1.1.8': - resolution: {integrity: sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==} - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc - peerDependenciesMeta: - '@types/react': - optional: true - '@types/react-dom': - optional: true - '@radix-ui/react-slider@1.3.6': resolution: {integrity: sha512-JPYb1GuM1bxfjMRlNLE+BcmBC8onfCi60Blk7OBqi2MLTFdS+8401U4uFjnwkOr49BLmXxLC6JHkvAsx5OJvHw==} peerDependencies: @@ -5488,15 +5422,6 @@ snapshots: '@types/react': 19.2.8 '@types/react-dom': 19.2.3(@types/react@19.2.8) - '@radix-ui/react-label@2.1.8(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)': - dependencies: - '@radix-ui/react-primitive': 2.1.4(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - react: 19.2.3 - react-dom: 19.2.3(react@19.2.3) - optionalDependencies: - '@types/react': 19.2.8 - '@types/react-dom': 19.2.3(@types/react@19.2.8) - '@radix-ui/react-menu@2.1.16(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)': dependencies: '@radix-ui/primitive': 1.1.3 @@ -5669,15 +5594,6 @@ snapshots: '@types/react': 19.2.8 '@types/react-dom': 19.2.3(@types/react@19.2.8) - '@radix-ui/react-primitive@2.1.4(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)': - dependencies: - '@radix-ui/react-slot': 1.2.4(@types/react@19.2.8)(react@19.2.3) - react: 19.2.3 - react-dom: 19.2.3(react@19.2.3) - optionalDependencies: - '@types/react': 19.2.8 - '@types/react-dom': 19.2.3(@types/react@19.2.8) - '@radix-ui/react-progress@1.1.7(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)': dependencies: '@radix-ui/react-context': 1.1.2(@types/react@19.2.8)(react@19.2.3) @@ -5778,15 +5694,6 @@ snapshots: '@types/react': 19.2.8 '@types/react-dom': 19.2.3(@types/react@19.2.8) - '@radix-ui/react-separator@1.1.8(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)': - dependencies: - '@radix-ui/react-primitive': 2.1.4(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) - react: 19.2.3 - react-dom: 19.2.3(react@19.2.3) - optionalDependencies: - '@types/react': 19.2.8 - '@types/react-dom': 19.2.3(@types/react@19.2.8) - '@radix-ui/react-slider@1.3.6(@types/react-dom@19.2.3(@types/react@19.2.8))(@types/react@19.2.8)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)': dependencies: '@radix-ui/number': 1.1.1 diff --git a/scripts/release-aur.ts b/scripts/release-aur.ts index d1fed87..9cdef28 100644 --- a/scripts/release-aur.ts +++ b/scripts/release-aur.ts @@ -124,7 +124,7 @@ execSync("makepkg --printsrcinfo > .SRCINFO", { }); // Setup Git repository -execSync("git add PKGBUILD .SRCINFO", { +execSync("git add PKGBUILD .SRCINFO dropout-bin.install", { stdio: "inherit", cwd: "aur", }); -- cgit v1.2.3-70-g09d2 From de978ed58fc15d6af70f340cf0c3c27df8808f28 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Wed, 25 Feb 2026 12:21:03 +0800 Subject: fix(ci): setup makepkg before release aur --- .github/workflows/semifold-ci.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index aad64ab..e230e3a 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -183,6 +183,8 @@ jobs: node-version: 22 cache: "pnpm" cache-dependency-path: "pnpm-lock.yaml" + - name: Install Makepkg + run: sudo apt-get update && sudo apt-get install -y makepkg pacman - name: Install Node.js Dependencies run: pnpm install - name: Download build artifacts -- cgit v1.2.3-70-g09d2 From e7dabcb932cc76ca93f413f2f649544c0ff86a8c Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Wed, 25 Feb 2026 12:46:42 +0800 Subject: revert: revert due to pkgbuild error This reverts commit de978ed58fc15d6af70f340cf0c3c27df8808f28. --- .github/workflows/semifold-ci.yaml | 2 -- 1 file changed, 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index e230e3a..aad64ab 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -183,8 +183,6 @@ jobs: node-version: 22 cache: "pnpm" cache-dependency-path: "pnpm-lock.yaml" - - name: Install Makepkg - run: sudo apt-get update && sudo apt-get install -y makepkg pacman - name: Install Node.js Dependencies run: pnpm install - name: Download build artifacts -- cgit v1.2.3-70-g09d2 From a1126acbfe3f3e4ddaa85eb2e7d1af738572e9b9 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Wed, 25 Feb 2026 13:50:53 +0800 Subject: fix(ci): setup makepkg before release aur --- .github/workflows/semifold-ci.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index aad64ab..e230e3a 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -183,6 +183,8 @@ jobs: node-version: 22 cache: "pnpm" cache-dependency-path: "pnpm-lock.yaml" + - name: Install Makepkg + run: sudo apt-get update && sudo apt-get install -y makepkg pacman - name: Install Node.js Dependencies run: pnpm install - name: Download build artifacts -- cgit v1.2.3-70-g09d2 From 7eba8843d8b9050864362389d26698117ab58824 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Thu, 26 Feb 2026 18:34:12 +0800 Subject: fix(ci): fix ui auto lint --- .github/workflows/lint.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d5bd131..0452d29 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,10 +31,7 @@ jobs: - run: pnpm install - - run: pnpm format - working-directory: packages/ui - - - run: pnpm lint:fix + - run: pnpm lint --fix working-directory: packages/ui - name: Commit changes -- cgit v1.2.3-70-g09d2