Prepare v0.1.1 release

This commit is contained in:
burnintuna 2026-07-21 03:00:05 +09:00
parent 91590ec08d
commit cf23da4875
7 changed files with 36 additions and 27 deletions

1
.gitignore vendored
View file

@ -3,5 +3,6 @@
/.appimage-tools/
*.AppImage
*.AppImage.zsync
/dist/*.AppImage.sha256
/dist/*.tar.gz
/dist/*.tar.gz.sha256

2
Cargo.lock generated
View file

@ -182,7 +182,7 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
[[package]]
name = "comicviewer"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"chrono",

View file

@ -1,6 +1,6 @@
[package]
name = "comicviewer"
version = "0.1.0"
version = "0.1.1"
edition = "2024"
description = "A comic archive viewer for local and remote locations"
license = "GPL-3.0-or-later"

View file

@ -26,6 +26,7 @@
</provides>
<content_rating type="oars-1.1" />
<releases>
<release version="0.1.1" date="2026-07-21" />
<release version="0.1.0" date="2026-07-21" />
</releases>
</component>

View file

@ -17,12 +17,12 @@ sudo pacman -S fuse2 gvfs gvfs-smb
## 2. 권장 방법: 통합 번들로 설치 또는 업데이트
Release 페이지에서 `Comicviewer-0.1.0-x86_64.tar.gz`와 같은 최신 버전의
Release 페이지에서 `Comicviewer-0.1.1-x86_64.tar.gz`와 같은 최신 버전의
통합 번들을 다운로드합니다. 압축을 풀고 설치 스크립트를 실행합니다.
```sh
tar -xzf Comicviewer-0.1.0-x86_64.tar.gz
cd Comicviewer-0.1.0-x86_64
tar -xzf Comicviewer-0.1.1-x86_64.tar.gz
cd Comicviewer-0.1.1-x86_64
./install-or-update.sh
```
@ -50,13 +50,13 @@ cd Comicviewer-0.1.0-x86_64
Release 페이지에서 다음 두 파일을 같은 폴더에 다운로드합니다.
- `Comicviewer-0.1.0-x86_64.AppImage`
- `Comicviewer-0.1.0-x86_64.AppImage.sha256`
- `Comicviewer-0.1.1-x86_64.AppImage`
- `Comicviewer-0.1.1-x86_64.AppImage.sha256`
다운로드한 폴더에서 체크섬을 검증합니다.
```sh
sha256sum -c Comicviewer-0.1.0-x86_64.AppImage.sha256
sha256sum -c Comicviewer-0.1.1-x86_64.AppImage.sha256
```
`성공` 또는 `OK`가 표시되어야 합니다. 검증에 실패하면 파일을 실행하지 말고
@ -67,15 +67,15 @@ sha256sum -c Comicviewer-0.1.0-x86_64.AppImage.sha256
AppImage에 실행 권한을 부여한 뒤 실행합니다.
```sh
chmod +x Comicviewer-0.1.0-x86_64.AppImage
./Comicviewer-0.1.0-x86_64.AppImage
chmod +x Comicviewer-0.1.1-x86_64.AppImage
./Comicviewer-0.1.1-x86_64.AppImage
```
FUSE를 사용할 수 없는 환경에서는 다음과 같이 임시 추출 방식으로 실행할 수
있습니다.
```sh
./Comicviewer-0.1.0-x86_64.AppImage --appimage-extract-and-run
./Comicviewer-0.1.1-x86_64.AppImage --appimage-extract-and-run
```
## 5. 선택 사항: 수동으로 사용자 계정에 설치
@ -85,7 +85,7 @@ AppImage를 사용자 전용 프로그램 폴더에 설치하고 명령어로
```sh
mkdir -p ~/.local/opt/comicviewer ~/.local/bin
install -m 755 Comicviewer-0.1.0-x86_64.AppImage \
install -m 755 Comicviewer-0.1.1-x86_64.AppImage \
~/.local/opt/comicviewer/Comicviewer.AppImage
ln -sfn ~/.local/opt/comicviewer/Comicviewer.AppImage ~/.local/bin/comicviewer
```

View file

@ -7,6 +7,11 @@ Release 첨부 파일로 제공하는 방식을 권장합니다. 버전별 바
기존 `v0.1.0` AppImage 커밋은 배포 기록으로 유지하되, 다음 버전부터는 이
절차를 사용합니다.
태그, 프로젝트 버전, AppImage, 통합 번들의 버전은 반드시 같아야 합니다.
예를 들어 `v0.1.1` Release에는 이름에 `0.1.1`이 포함된 파일만 첨부합니다.
Git 태그만 푸시하면 첨부 파일은 자동으로 등록되지 않으므로, 마지막 단계에서
Release를 만들고 파일 네 개를 직접 첨부해야 합니다.
## 1. 버전 갱신
릴리스 전에 다음 위치의 버전이 일치하는지 확인합니다.
@ -50,9 +55,9 @@ AppImage 빌드가 끝나면 다음 스크립트로 체크섬과 통합 `tar.gz`
스크립트는 `Cargo.toml`에서 버전을 읽고 다음 파일을 생성합니다.
- `dist/Comicviewer-0.1.0-x86_64.AppImage.sha256`
- `dist/Comicviewer-0.1.0-x86_64.tar.gz`
- `dist/Comicviewer-0.1.0-x86_64.tar.gz.sha256`
- `dist/Comicviewer-0.1.1-x86_64.AppImage.sha256`
- `dist/Comicviewer-0.1.1-x86_64.tar.gz`
- `dist/Comicviewer-0.1.1-x86_64.tar.gz.sha256`
통합 번들에는 AppImage, 체크섬, 설치·업데이트 스크립트, 데스크톱 파일, 아이콘,
한국어 설치 안내문이 포함됩니다. `tar.gz`는 실행 권한과 디렉터리 구조를
@ -61,9 +66,9 @@ AppImage 빌드가 끝나면 다음 스크립트로 체크섬과 통합 `tar.gz`
생성된 번들의 압축 목록과 체크섬을 확인합니다.
```sh
tar -tzf dist/Comicviewer-0.1.0-x86_64.tar.gz
tar -tzf dist/Comicviewer-0.1.1-x86_64.tar.gz
cd dist
sha256sum -c Comicviewer-0.1.0-x86_64.tar.gz.sha256
sha256sum -c Comicviewer-0.1.1-x86_64.tar.gz.sha256
```
## 5. 소스 커밋과 태그
@ -73,10 +78,10 @@ sha256sum -c Comicviewer-0.1.0-x86_64.tar.gz.sha256
```sh
git add Cargo.toml Cargo.lock data packaging README.md docs
git commit -m "Prepare v0.1.0 release"
git tag -a v0.1.0 -m "Comicviewer v0.1.0"
git commit -m "Prepare v0.1.1 release"
git tag -a v0.1.1 -m "Comicviewer v0.1.1"
git push origin main
git push origin v0.1.0
git push origin v0.1.1
```
이미 원격에 공개한 태그는 이동하거나 덮어쓰지 않습니다. 수정이 필요하면 새
@ -87,10 +92,10 @@ git push origin v0.1.0
Git 서버의 Releases 화면에서 푸시한 태그를 선택해 Release를 생성하고 다음
파일을 첨부합니다.
- `Comicviewer-0.1.0-x86_64.tar.gz`
- `Comicviewer-0.1.0-x86_64.tar.gz.sha256`
- `Comicviewer-0.1.0-x86_64.AppImage`
- `Comicviewer-0.1.0-x86_64.AppImage.sha256`
- `Comicviewer-0.1.1-x86_64.tar.gz`
- `Comicviewer-0.1.1-x86_64.tar.gz.sha256`
- `Comicviewer-0.1.1-x86_64.AppImage`
- `Comicviewer-0.1.1-x86_64.AppImage.sha256`
Release 설명에는 주요 변경 사항과 함께 다음 요구사항을 안내합니다.
@ -99,8 +104,8 @@ Release 설명에는 주요 변경 사항과 함께 다음 요구사항을 안
필수 패키지: fuse2, gvfs, gvfs-smb
권장 설치 또는 업데이트:
tar -xzf Comicviewer-0.1.0-x86_64.tar.gz
cd Comicviewer-0.1.0-x86_64
tar -xzf Comicviewer-0.1.1-x86_64.tar.gz
cd Comicviewer-0.1.1-x86_64
./install-or-update.sh
```

View file

@ -4,6 +4,8 @@ set -euo pipefail
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
linuxdeploy="${LINUXDEPLOY:-linuxdeploy-x86_64.AppImage}"
output_dir="${OUTPUT_DIR:-${root_dir}/dist}"
package_id="$(cargo pkgid --manifest-path "${root_dir}/Cargo.toml")"
version="${package_id##*@}"
work_dir="$(mktemp -d)"
app_dir="${work_dir}/Comicviewer.AppDir"
@ -19,7 +21,7 @@ install -m 0644 \
"${root_dir}/data/io.github.comicviewer.Comicviewer.metainfo.xml" \
"${app_dir}/usr/share/metainfo/io.github.comicviewer.Comicviewer.appdata.xml"
output_path="${output_dir}/Comicviewer-0.1.0-x86_64.AppImage"
output_path="${output_dir}/Comicviewer-${version}-x86_64.AppImage"
export LDAI_OUTPUT="${output_path}"
export PATH="$(dirname "${linuxdeploy}"):${PATH}"
export APPIMAGE_EXTRACT_AND_RUN=1