앱 버전 갱신문제

This commit is contained in:
Macbook
2026-06-14 19:49:40 +09:00
parent ad6347f2a2
commit ac2b0eb7f1
7 changed files with 180 additions and 30 deletions
+10
View File
@@ -46,6 +46,16 @@ if [[ "$BUILD_WIN" -eq 1 ]]; then
fi
CONF="$ROOT/desktop/src-tauri/tauri.conf.json"
# CI: 매 Jenkins 빌드마다 patch 버전 bump (git tauri.conf 0.1.4 고정이어도 산출물 버전 증가)
if [[ -z "${BUMP_VERSION:-}" ]] && [[ "${DESKTOP_BUMP_ON_CI:-1}" == "1" ]] \
&& [[ -n "${BUILD_NUMBER:-}${DESKTOP_AUTO_BUMP:-}" ]]; then
chmod +x "$ROOT/scripts/bump-desktop-version-from-release.sh"
export WORK_TREE="$ROOT"
BUMPED="$("$ROOT/scripts/bump-desktop-version-from-release.sh")"
echo "Desktop CI version bump → $BUMPED"
fi
if [[ -n "$BUMP_VERSION" ]]; then
node -e "
const fs=require('fs'); const p=process.argv[1]; const b=process.argv[2];