Skip to content

๐Ÿ”Š ๋ฒ„์ €๋‹ ์ „๋žต

JUNWON LEE edited this page Sep 17, 2024 · 6 revisions

Semantic Versioning ๊ธฐ๋ฐ˜ ๋ฒ„์ „ ๊ด€๋ฆฌ

์„ธ ๊ฐ€์ง€ ์ˆซ์ž(Major Version.Minor Version.Patch Version-tag)๋กœ ๋ฒ„์ „์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.

  • Major Version: ๊ธฐ๋Šฅ์ด ํฌ๊ฒŒ ๋ณ€๊ฒฝ๋˜๊ฑฐ๋‚˜ ํ˜ธํ™˜์„ฑ์ด ๊นจ์งˆ ๋•Œ ์ฆ๊ฐ€
  • Minor Version: ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ์ด ์ถ”๊ฐ€๋˜์ง€๋งŒ ํ˜ธํ™˜์„ฑ์„ ์œ ์ง€ํ•  ๋•Œ ์ฆ๊ฐ€
  • Patch Version: ๋ฒ„๊ทธ ์ˆ˜์ •์ด๋‚˜ ์ž‘์€ ๋ณ€ํ™”๊ฐ€ ์žˆ์„ ๋•Œ ์ฆ๊ฐ€
appVersion = "3.2.1"
versionCode = "30201"

- major version: 3
- minor version: 2
- patch version: 1
- versionCode: major ๋ฒ„์ „ * 10000 + minor ๋ฒ„์ „ * 100 + patch ๋ฒ„์ „ = 30201

Tag

Tag๋Š” ๊ฐœ๋ฐœ ๋ฐ ํ…Œ์ŠคํŠธ ๋‹จ๊ณ„์—์„œ ํŠน์ • ์ƒํƒœ๋ฅผ ๋‚˜ํƒ€๋‚ด๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.

  • alpha: ๋‚ด๋ถ€ QA๋ฅผ ์œ„ํ•œ ์ดˆ๊ธฐ ํ…Œ์ŠคํŠธ ๋ฒ„์ „์ž…๋‹ˆ๋‹ค.
  • beta: ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ์ด ๊ตฌํ˜„๋˜์—ˆ๊ณ , ํŠน์ • ์ง‘๋‹จ์˜ ํ…Œ์Šคํ„ฐ๋“ค์—๊ฒŒ ์ œ๊ณต๋˜๋Š” ๋ฒ„์ „์ž…๋‹ˆ๋‹ค.

๋ฒ„์ „ ๊ด€๋ฆฌ ์˜ˆ์‹œ

1.0.0-alpha: ์ฒซ ๋ฒˆ์งธ ๋ฒ„์ „์˜ QA๋ฅผ ์œ„ํ•œ ์ดˆ๊ธฐ ํ…Œ์ŠคํŠธ ๋ฒ„์ „
1.0.0: ์ฒซ ๋ฒˆ์งธ ์•ˆ์ •์ ์ธ ๋ฆด๋ฆฌ์ฆˆ ๋ฒ„์ „
1.0.0 -> 1.1.0: ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ์ด ์ถ”๊ฐ€๋˜์—ˆ์ง€๋งŒ ๊ธฐ์กด ๊ธฐ๋Šฅ๊ณผ์˜ ํ˜ธํ™˜์„ฑ์€ ์œ ์ง€๋จ
1.1.0 -> 1.1.1: ์ž‘์€ ๋ฒ„๊ทธ๊ฐ€ ์ˆ˜์ •๋œ ํŒจ์น˜ ๋ฒ„์ „

Gradle์—์„œ์˜ ๋ฒ„์ €๋‹ ๊ด€๋ฆฌ

android/gradle/libs.versions.toml ์—์„œ ๋ฒ„์ €๋‹์„ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

์ด ํŒŒ์ผ์—์„œ๋Š” ๊ฐ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์˜ ๋ฒ„์ „์„ ์ •์˜ํ•˜๊ณ , ์œ„์—์„œ ์„ค๋ช…ํ•œ ๋ฐฉ์‹์— ๋”ฐ๋ผ ๋ฒ„์ „์„ ๊ด€๋ฆฌํ•˜์—ฌ ์—…๋ฐ์ดํŠธ๊ฐ€ ์ด๋ฃจ์–ด์ง‘๋‹ˆ๋‹ค.

Tag ์˜ ๊ฒฝ์šฐ Build Variant ๋ฅผ ์ง€์ •ํ•˜๊ณ  ๋นŒ๋“œํ•˜์—ฌ ํŠน์ • Tag ์— ํ•ด๋‹นํ•˜๋Š” APK ํŒŒ์ผ์„ ์ถ”์ถœํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Clone this wiki locally