astarte-release
Standardized workflow to prepare, tag, and publish a new release for Astarte Dashboard
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Standardized workflow to prepare, tag, and publish a new release for Astarte Dashboard
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | astarte-release |
| description | Standardized workflow to prepare, tag, and publish a new release for Astarte Dashboard |
This workflow describes Astarte project's release strategy and it must be followed when a release is to be prepared or published.
master is the main development branch. Release branches are named release-X.Y (e.g., release-1.2, release-1.3).v prefix for tags (e.g., v1.2.0, v1.3.0-rc.1, v1.2.1-alpha.0).package.json, package-lock.json, and CHANGELOG.md.[Unreleased] section.When a new release is to be prepared (e.g., v1.3.0):
Determine the target release branch:
release-X.Y based on the version being released, e.g. release-1.3 for a v1.3.2 release.release-X.Y branch exists on the main repository.master branch.Create a preparation branch:
prepare-release-v1.3.0) branching off the target release branch.Update Versions:
version field in package.json to the new version (without the v prefix), and the version fields in package-lock.json (e.g. manually or by running npm install).Update CHANGELOG.md:
## [Unreleased] section.## [Unreleased] header with the upcoming release tag and current date, e.g. ## [X.Y.Z(-prerelease)] - YYYY-MM-DD.## [Unreleased] section at the top of the changelog for future changes.Commit & Pull Request:
chore(release): prepare vX.Y.Z.gh pr create to open a Pull Request against the target release-X.Y branch on the main repository.chore(release): prepare vX.Y.Z.The release must be tagged and published AFTER the preparation PR is merged:
Verify merge:
release-X.Y branch.release-X.Y branch.Tag the release:
git tag -as v1.3.0 -m "Astarte Dashboard v1.3.0 release").Create GitHub Release:
CHANGELOG.md.gh release create command to create a GitHub release targeting the tag.v1.3.0). The body should contain the changes reported in the CHANGELOG.md for this release, following the existing pattern from previous releases.-alpha, -beta, or -rc (e.g. v1.3.0-rc.1), you MUST append the --prerelease flag to the gh release create command. Set the release as the latest one with the --latest flag only when releasing the highest stable (not prelease) version according to semantic versioning scheme.