← スキル一覧に戻る

app-versioning
by simple-platform
Simple Platform Tools
⭐ 1🍴 1📅 2026年1月25日
SKILL.md
name: app-versioning description: Guide to managing application versions and deployment releases.
App Versioning Skill
1. The Versioning Strategy
Simple Platform uses Semantic Versioning (SemVer): MAJOR.MINOR.PATCH (e.g., 1.0.0, 2.1.5).
- MAJOR: Breaking changes (e.g., changing a data type, removing a field).
- MINOR: New features (backward compatible) (e.g., new table, new field).
- Pre-Release:
MAJOR.MINOR.PATCH-ENV.COUNTER(e.g.,1.1.0-dev.1,1.1.0-staging.5).
2. Defining Version in SCL
The source of truth is apps/<app>/app.scl.
id com.mycompany.crm
version 1.2.0 # <--- THIS LINE
display_name "CRM"
3. Deploying with Version Bumps
The CLI manages versions automatically based on the target environment (--env).
A. Starting a New Cycle (Prod -> Dev)
When you have a stable version (e.g., 1.0.0) and start new work, you MUST provide --bump.
# Start work on next patch
simple deploy com.mycompany.crm --env dev --bump patch
# Result: 1.0.1-dev.1
B. Iterating (Dev -> Dev)
When iterating in a non-prod environment, the CLI auto-increments the counter. No flag needed.
simple deploy com.mycompany.crm --env dev
# Result: 1.0.1-dev.2 -> 1.0.1-dev.3
C. Promoting (Dev -> Staging -> Prod)
Moving between environments handles the suffixes automatically.
# Promote to Staging
simple deploy com.mycompany.crm --env staging
# Result: 1.0.1-staging.1
# Release to Prod
simple deploy com.mycompany.crm --env prod
# Result: 1.0.1 (Stable)
4. Best Practices
- Always Forward: Versions must strictly increase. There is NO concept of rollback.
- Forward Rollback: To revert a bad deployment, revert the code in git and deploy a new higher version.
- Sync: Ensure
app.sclis committed to git after a deployment, as the CLI updates it.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です