ก๊วนซอฟท์แวร์ </softganz> SoftGang (Gang Software)

Web &amp; Software Developer Gang.

สร้าง tag เพื่อ release app บน git

by Little Bear @19 ก.ค. 69 08:58 ( IP : 171...214 ) | Tags : GIT , Flutter

cd /path/to/app-json-page

1. อัพเดตเวอร์ชันใน pubspec.yaml ให้ตรง (เช่น version: 0.1.0)

2. commit การเปลี่ยนแปลง

git add pubspec.yaml git commit -m "Release json_page v0.1.0"

3. สร้าง tag (ตั้งชื่อให้สื่อ เช่น json_page-v0.1.0)

git tag json_page-v0.1.0

4. push code + tag ขึ้น remote

git push origin main git push origin json_page-v0.1.0