clarify app release build flow
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-06 16:31:53 +09:00
parent 2759bed814
commit 08939bdaaf
4 changed files with 41 additions and 28 deletions
+3 -3
View File
@@ -117,7 +117,7 @@ export function LauncherBuildPage() {
setBuildEnv(nextBuildEnv.variables ?? []);
const nextVersion = nextVersions.find((item) => item.isActive) ?? nextVersions[0];
setVersion(nextVersion?.version ?? '');
setBranch(target === 'launcher-backend' ? nextSource.source.backend?.branch ?? 'release' : nextSource.source.client?.branch ?? nextVersion?.branch ?? 'release');
setBranch('release');
setCommitSha(target === 'launcher-backend' ? nextSource.source.backend?.commitSha ?? '' : nextSource.source.client?.commitSha ?? nextVersion?.commitSha ?? '');
})
.catch((error: Error) => {
@@ -133,12 +133,12 @@ export function LauncherBuildPage() {
useEffect(() => {
if (!source) return;
if (target === 'launcher-backend') {
setBranch(source.backend?.branch ?? 'release');
setBranch('release');
setCommitSha(source.backend?.commitSha ?? '');
return;
}
setBranch(source.client?.branch ?? activeVersion?.branch ?? 'release');
setBranch('release');
setCommitSha(source.client?.commitSha ?? activeVersion?.commitSha ?? '');
}, [activeVersion?.branch, activeVersion?.commitSha, source, target]);