chore(release): bump version to 1.3.4-6 (Beta) + 修 Linux CI fcitx5-dev 安装
v1.3.4-4 / -5 的 Linux 构建在 "Build fcitx5 plugin" 步骤连挂两次,
错误一致:"E: Unable to locate package fcitx5-dev"。同一 job 前面的
"Install Linux bundle deps" 步骤明明已经 apt-get update + 装好了一堆
universe 包,到 fcitx5 这步突然找不到 —— 表象与 GitHub Actions
ubuntu-22.04 runner 镜像弃用过渡期里 apt 元数据漂移的现象一致。
release-tauri.yml "Build fcitx5 plugin" 步骤增加三层防御:
1) sudo add-apt-repository -y universe(已启用则 no-op)
2) 本步骤内重新 sudo apt-get update,独立于上游 step 缓存
3) 安装失败时打印 apt-cache policy / search / os-release / sources.list.d
便于以后排查
同 commit 同时 bump 五处版本到 1.3.4-6 重发,让 PR #487/#488/#489
三个 Windows P0 修复带上 Linux 包一起进 Beta 通道。
This commit is contained in:
1 parent
801bc0089b
commit
1960e0d602
6 files changed
+27
-7
No files matched your search
@@ -345,7 +345,27 @@ jobs:
|
||||
shell: bash
|
||||
working-directory: 'openless-all/scripts/linux-fcitx5-plugin'
|
||||
run: |
|
||||
sudo apt-get install -y cmake fcitx5-dev
|
||||
# v1.3.4-4 / -5 在此步反复挂,错误是 "E: Unable to locate package fcitx5-dev"。
|
||||
# 同一 job 里前面的 "Install Linux bundle deps" 步骤已 apt-get update 过,
|
||||
# universe 也是 ubuntu-22.04 默认启用 —— 但 GitHub Actions runner 镜像在
|
||||
# 22.04 弃用过渡期里偶发 apt 元数据漂移。这里多加三层防御:
|
||||
# 1) 显式启用 universe(已启用则 no-op)
|
||||
# 2) 在本步骤内重新 apt-get update,独立于上游 step 的 cache 状态
|
||||
# 3) 失败时 apt-cache search 打印实际可见包名,便于以后排查
|
||||
sudo add-apt-repository -y universe || true
|
||||
sudo apt-get update
|
||||
if ! sudo apt-get install -y cmake fcitx5-dev; then
|
||||
echo "::error::fcitx5-dev install failed. Diagnostics ↓"
|
||||
echo "--- apt-cache policy fcitx5-dev ---"
|
||||
apt-cache policy fcitx5-dev || true
|
||||
echo "--- apt-cache search fcitx5 ---"
|
||||
apt-cache search fcitx5 || true
|
||||
echo "--- /etc/os-release ---"
|
||||
cat /etc/os-release || true
|
||||
echo "--- /etc/apt/sources.list.d ---"
|
||||
ls -la /etc/apt/sources.list.d/ || true
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p build && cd build
|
||||
cmake .. 2>&1
|
||||
make
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "openless-app",
|
||||
"version": "1.3.4-5",
|
||||
"version": "1.3.4-6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "openless-app",
|
||||
"version": "1.3.4-5",
|
||||
"version": "1.3.4-6",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2.1.1",
|
||||
"@tauri-apps/plugin-autostart": "^2.5.1",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "openless-app",
|
||||
"private": true,
|
||||
"version": "1.3.4-5",
|
||||
"version": "1.3.4-6",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Generated
+1
-1
@@ -3666,7 +3666,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "openless"
|
||||
version = "1.3.4-5"
|
||||
version = "1.3.4-6"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"arboard",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "openless"
|
||||
version = "1.3.4-5"
|
||||
version = "1.3.4-6"
|
||||
description = "OpenLess — local voice input that types where your cursor is"
|
||||
authors = ["OpenLess"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "OpenLess",
|
||||
"version": "1.3.4-5",
|
||||
"version": "1.3.4-6",
|
||||
"identifier": "com.openless.app",
|
||||
"build": {
|
||||
"beforeDevCommand": "npm run dev",
|
||||
|
||||
Reference in new issue
Block a user