
update-release
by dotnet
Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path.
SKILL.md
name: update-release description: This skill should be used when the user asks to "update the beta release", "update the stable release", "bump dev-proxy", "bump dev-proxy-beta", "update formula", "get latest release", "get latest pre-release", or needs to update the Homebrew formula with a new Dev Proxy version.
Update Dev Proxy Homebrew Formula
Update the Homebrew formula with a new Dev Proxy release from the GitHub repository.
Determine Release Type
Based on the user's request, determine which formula to update:
| User mentions | Formula file | Release type |
|---|---|---|
| beta, pre-release | Formula/dev-proxy-beta.rb | Pre-release (e.g., vX.Y.Z-beta.N) |
| stable, latest, (unspecified) | Formula/dev-proxy.rb | Latest stable (e.g., vX.Y.Z) |
Workflow
Step 1: Check Current Version
Read the appropriate formula file to identify the current proxyVersion value.
Step 2: Find Target Release
Fetch the GitHub releases page:
https://github.com/dotnet/dev-proxy/releases
- Beta: Find the most recent release marked "Pre-release"
- Stable: Find the most recent release marked "Latest" (not pre-release)
Step 3: Calculate SHA256 Checksums
Download each platform's zip file and calculate the SHA256 checksum.
macOS (osx-x64):
curl -sL "https://github.com/dotnet/dev-proxy/releases/download/v{VERSION}/dev-proxy-osx-x64-v{VERSION}.zip" | shasum -a 256
Linux (linux-x64):
curl -sL "https://github.com/dotnet/dev-proxy/releases/download/v{VERSION}/dev-proxy-linux-x64-v{VERSION}.zip" | shasum -a 256
Replace {VERSION} with the version number (e.g., 2.1.0-beta.4 or 2.0.0).
Step 4: Update the Formula
Update the formula file with:
- New
proxyVersionvalue (without thevprefix) - New
proxyShafor Linux - New
proxyShafor macOS
Formula structure (both files follow the same pattern):
class DevProxy < Formula # or DevProxyBeta
proxyVersion = "{VERSION}"
if OS.linux?
proxyArch = "linux-x64"
proxySha = "{LINUX_SHA256}"
else
proxyArch = "osx-x64"
proxySha = "{OSX_SHA256}"
end
# ... rest of formula
end
Key Differences Between Formulas
| Aspect | Stable | Beta |
|---|---|---|
| File | Formula/dev-proxy.rb | Formula/dev-proxy-beta.rb |
| Class | DevProxy | DevProxyBeta |
| Binary | devproxy | devproxy-beta |
| Livecheck | strategy :github_latest | regex(/^v(.*)$/i) |
Important Notes
- The version in the formula should NOT include the
vprefix - Each platform has a different SHA256 checksum
- Run the SHA256 commands sequentially (not in parallel) to avoid terminal conflicts
- The download URL includes the
vprefix in the tag name
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です


