onekeyhq/app-monorepo/1k-app-upgrade-test

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Create test versions to verify app auto-update functionality and version migration.

Install

npx vskill@latest install onekeyhq/app-monorepo/1k-app-upgrade-test

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Test Version Creation

Automates creation of test version branches with hardcoded build configurations for testing app upgrade functionality and version migration flows.

Quick Reference

Version Pattern

Test versions follow the pattern: `9XXX.YY.Z`

  • 9XXX - Test version indicator (e.g., 9005)
  • YY.Z - Matches production version being tested

Example: 9005.20.0 for testing production 5.20.0

Build Number Formula

Build number is calculated as:

bash
DATE=$(date +%Y%m%d)
BUILD_NUMBER=$((${DATE}00 + 30))

Format: 10 digits = YYYYMMDD00 + 30

Example: If today is 20260130, build number is 2026013030

Workflow

Step 1: Get Version Information

Ask user for test version number:

  • Format: 9XXX.YY.Z
  • Example: 9005.20.0
Step 2: Calculate Build Number
bash
DATE=$(date +%Y%m%d)
BUILD_NUMBER=$((${DATE}00 + 30))
echo "Build number: $BUILD_NUMBER"
Step 3: Create Branch
bash
git checkout -b <test_version>
# Example: git checkout -b 9005.20.0
Step 4: Modify Configuration Files

Update these files in order:

  1. `.env.version`
  • Set VERSION to test version
  1. `.github/actions/shared-env/action.yml`
  • Update version in outputs section
  1. `.github/workflows/release-android.yml`
  • Hardcode BUILD_NUMBER in "Write .env.version" step
  1. `.github/workflows/release-ios.yml`
  • Hardcode BUILD_NUMBER in "Write .env.version" step
  1. `.github/workflows/daily-build.yml`
  • Hardcode BUILD_NUMBER in "Setup ENV" step
  1. `apps/mobile/android/app/build.gradle`
  • Update versionCode
  • Update versionName
Step 5: Commit and Push
bash
git add .
git commit -m "chore: create test version <version>"
git push origin <test_version>

Files to Modify

FileWhat to Update
.env.versionVERSION
.github/actions/shared-env/action.ymlHardcode BUILD_NUMBER, remove conditionals
.github/workflows/release-android.ymlHardcode BUILD_NUMBER in .env.version write
.github/workflows/release-ios.ymlHardcode BUILD_NUMBER in .env.version write
.github/workflows/daily-build.ymlHardcode BUILD_NUMBER in Setup ENV step
apps/mobile/android/app/build.gradleversionCode, versionName

Detailed Guide

For comprehensive test version creation workflow with examples, see upgrade-test-version.md.

Topics covered:

  • Version number format and conventions
  • Build number calculation formula
  • Step-by-step file modification instructions
  • Configuration file examples
  • Git workflow for test versions
  • QA testing considerations

When to Use This Skill

  • Creating test builds for QA upgrade testing
  • Testing version migration flows
  • Verifying app upgrade functionality
  • Creating release candidates with specific build numbers
  • Testing version-specific features or fixes

Related Skills

  • /1k-dev-commands - Git and development workflow conventions
  • /1k-dev-commands - Build and release commands

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/onekeyhq/app-monorepo/1k-app-upgrade-test/badge)](https://verified-skill.com/skills/onekeyhq/app-monorepo/1k-app-upgrade-test)

Something wrong with this skill or its page? Tell us.