MCP HubMCP Hub
스킬 목록으로 돌아가기

create-github-release

pjt222
업데이트됨 2 days ago
1 조회
17
2
17
GitHub에서 보기
메타design

정보

이 스킬은 적절한 시맨틱 버전 태그, 변경 로그 생성, 아티팩트 업로드를 통해 GitHub 릴리스를 자동으로 생성합니다. 안정적인 소프트웨어 버전이나 라이브러리 배포, 또는 GitHub CLI를 통한 빌드 아티팩트 배포를 위해 설계되었습니다. 개발자는 자동화된 태깅과 릴리즈 노트로 릴리스 프로세스를 표준화해야 할 때 이 스킬을 사용해야 합니다.

빠른 설치

Claude Code

추천
기본
npx skills add pjt222/agent-almanac -a claude-code
플러그인 명령대체
/plugin add https://github.com/pjt222/agent-almanac
Git 클론대체
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/create-github-release

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Create GitHub Release

Create a tagged GitHub release with release notes and optional artifacts.

When to Use

  • Marking a stable version of software for distribution
  • Publishing a new version of a library or application
  • Creating release notes for stakeholders
  • Distributing build artifacts (binaries, tarballs)

Inputs

  • Required: Version number (semantic versioning)
  • Required: Summary of changes since last release
  • Optional: Build artifacts to attach
  • Optional: Whether this is a pre-release

Procedure

Step 1: Determine Version Number

Follow semantic versioning (MAJOR.MINOR.PATCH):

ChangeExampleWhen
MAJOR1.0.0 -> 2.0.0Breaking changes
MINOR1.0.0 -> 1.1.0New features, backward compatible
PATCH1.0.0 -> 1.0.1Bug fixes only

Got: A version number is chosen that accurately reflects the scope of changes since the last release.

If fail: If unsure whether changes are breaking, review the public API diff. Any removal or signature change of an exported function is a breaking change requiring a MAJOR bump.

Step 2: Update Version in Project Files

  • DESCRIPTION (R packages)
  • package.json (Node.js)
  • Cargo.toml (Rust)
  • pyproject.toml (Python)

Got: The version number is updated in the appropriate project file and committed to version control.

If fail: If the version was already updated in a previous step (e.g., via usethis::use_version() in R), verify it matches the intended release version.

Step 3: Write Release Notes

Create or update changelog. Organize by category:

## What's Changed

### New Features
- Added user authentication (#42)
- Support for custom themes (#45)

### Bug Fixes
- Fixed crash on empty input (#38)
- Corrected date parsing in UTC (#41)

### Improvements
- Improved error messages
- Updated dependencies

### Breaking Changes
- `old_function()` renamed to `new_function()` (#50)

**Full Changelog**: https://github.com/user/repo/compare/v1.0.0...v1.1.0

Got: Release notes are organized by category (features, fixes, breaking changes) with issue/PR references for traceability.

If fail: If changes are hard to categorize, review git log v1.0.0..HEAD --oneline to reconstruct the list of changes since the last release.

Step 4: Create Git Tag

git tag -a v1.1.0 -m "Release v1.1.0"
git push origin v1.1.0

Got: An annotated tag v1.1.0 exists locally and on the remote. git tag -l shows the tag.

If fail: If the tag already exists, delete it with git tag -d v1.1.0 && git push origin :refs/tags/v1.1.0 and recreate it. If push is rejected, ensure you have write access to the remote.

Step 5: Create GitHub Release

Using GitHub CLI (recommended):

gh release create v1.1.0 \
  --title "v1.1.0" \
  --notes-file CHANGELOG.md

With artifacts:

gh release create v1.1.0 \
  --title "v1.1.0" \
  --notes "Release notes here" \
  build/app-v1.1.0.tar.gz \
  build/app-v1.1.0.zip

Pre-release:

gh release create v2.0.0-beta.1 \
  --title "v2.0.0 Beta 1" \
  --prerelease \
  --notes "Beta release for testing"

Got: Release visible on GitHub with tag, notes, and attached artifacts (if any).

If fail: If gh is not authenticated, run gh auth login. If the tag does not exist on the remote, push it first with git push origin v1.1.0.

Step 6: Auto-Generate Release Notes

GitHub can auto-generate notes from merged PRs:

gh release create v1.1.0 \
  --title "v1.1.0" \
  --generate-notes

Configure categories in .github/release.yml:

changelog:
  categories:
    - title: New Features
      labels:
        - enhancement
    - title: Bug Fixes
      labels:
        - bug
    - title: Documentation
      labels:
        - documentation
    - title: Other Changes
      labels:
        - "*"

Got: Release notes are auto-generated from merged PR titles, categorized by label. .github/release.yml controls the categories.

If fail: If auto-generated notes are empty, ensure PRs were merged (not closed) and had labels assigned. Manually write notes as a fallback.

Step 7: Verify Release

# List releases
gh release list

# View specific release
gh release view v1.1.0

Got: gh release list shows the new release. gh release view displays the correct title, tag, notes, and assets.

If fail: If the release is missing, check the Actions tab for any release workflows that may have failed. Verify the tag exists with git tag -l.

Validation

  • Version tag follows semantic versioning
  • Git tag points to the correct commit
  • Release notes accurately describe changes
  • Artifacts (if any) are attached and downloadable
  • Release is visible on the GitHub repository page
  • Pre-release flag is set correctly

Pitfalls

  • Tagging wrong commit: Always verify git log before tagging. Tag after version-bump commit.
  • Forgetting to push tags: git push doesn't push tags. Use git push --tags or git push origin v1.1.0.
  • Inconsistent version format: Decide on v1.0.0 vs 1.0.0 and stick with it.
  • Empty release notes: Always provide meaningful notes. Users need to know what changed.
  • Deleting and recreating tags: Avoid changing tags after push. If needed, create a new version instead.

Related Skills

  • commit-changes - staging and committing workflow
  • manage-git-branches - branch management for release prep
  • release-package-version - R-specific release workflow
  • configure-git-repository - Git setup prerequisite
  • setup-github-actions-ci - automate releases via CI

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman-lite/skills/create-github-release
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기