create-beta-tag

Installation
SKILL.md

Create a Beta Tag

Require the user to provide the stable release version in either <major>.<minor> or <major>.<minor>.<patch> form. Treat two components as <major>.<minor>.0. Do not infer the version from package metadata or a branch name, and do not edit package metadata while creating the tag.

RELEASE_VERSION_INPUT="<user-provided-major.minor[.patch]>"
if [[ "${RELEASE_VERSION_INPUT}" =~ ^[0-9]+\.[0-9]+$ ]]; then
  RELEASE_BASE_VERSION="${RELEASE_VERSION_INPUT}.0"
elif [[ "${RELEASE_VERSION_INPUT}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
  RELEASE_BASE_VERSION="${RELEASE_VERSION_INPUT}"
else
  echo "Error: release version must be <major>.<minor> or <major>.<minor>.<patch>" >&2
  exit 1
fi
RELEASE_BRANCH="release/$(printf '%s' "${RELEASE_BASE_VERSION}" | cut -d. -f1,2)"
Installs
2
GitHub Stars
71
First Seen
Oct 3, 2026