ci: 첫 파이프라인 실패 2건 수정 — alpha 채널 감지 차단 + mac sox 자동 설치
- detectUpdateChannel:false — prerelease 버전이 alpha.yml을 만들어 latest.yml 글롭/가드에 안 걸리던 문제 (electron-updater 기본 채널 latest와 정렬) - artifacts 글롭 *.yml로 방어적 확장, publish 스크립트 메타데이터 regex 확장 - package-macos: sox 미설치 시 brew install sox 폴백
This commit is contained in:
parent
c6fd8c9a9a
commit
3e6e392920
3 changed files with 11 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ if (!/^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$/.test(version)) {
|
|||
const releaseDirectory = fileURLToPath(new URL(`../../apps/desktop/release/${version}/`, import.meta.url));
|
||||
|
||||
// 업로드 대상 수집 — 설치파일 + 업데이터 메타데이터만 (unpacked 디렉토리 제외)
|
||||
const ASSET_PATTERN = /(\.exe|\.dmg|\.zip|\.blockmap|^latest(-mac|-linux)?\.yml)$/;
|
||||
const ASSET_PATTERN = /(\.exe|\.dmg|\.zip|\.blockmap|^(latest|alpha|beta)(-mac|-linux)?\.yml)$/;
|
||||
|
||||
const files = [];
|
||||
for (const name of await readdir(releaseDirectory)) {
|
||||
|
|
@ -130,7 +130,7 @@ function safeAssetName(name) {
|
|||
}
|
||||
|
||||
function isUpdateMetadata(name) {
|
||||
return /(?:\.blockmap$|^latest(?:-mac|-linux)?\.yml$)/.test(name);
|
||||
return /(?:\.blockmap$|^(?:latest|alpha|beta)(?:-mac|-linux)?\.yml$)/.test(name);
|
||||
}
|
||||
|
||||
async function buildDescription() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue