Conversation
- Add release.sh script for automated testing, building, and versioning - Add publish.sh script for publishing to npm with configurable secrets - Add GitHub Actions workflows for manual release and publish - Add standard-version for automated changelog generation - Add comprehensive RELEASE.md documentation - Update README.md and CONTRIBUTING.md with release process info - Add npm scripts for convenience (release, release:major, etc.) Co-authored-by: erdigokce <17235148+erdigokce@users.noreply.github.com>
- Add pipefail and undefined variable checking to scripts - Clarify publish confirmation prompt - Hide chore commits from changelog (except release commits) - Add explicit permissions to publish workflow - Add .npmrc to .gitignore for security Co-authored-by: erdigokce <17235148+erdigokce@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add build and release pipeline scripts
Add automated release pipeline with conventional commits and standalone scripts
Dec 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements automated release and publish workflows using conventional commits for changelog generation and semantic versioning.
Standalone Scripts
scripts/release.sh- Complete release automation independent of GitHub Actions:scripts/publish.sh- npm publishing with configurable authentication:Both use
set -euo pipefailfor robust error handling.GitHub Actions
Release Workflow - Manual trigger with release type selection:
Publish Workflow - Manual trigger with explicit confirmation:
Configuration
.versionrc.jsonmaps commit types to changelog sections, hides chore commitsnpm run release:minor,npm run publish:npm).npmrcadded to.gitignoreDocumentation
Usage
Scripts are CI/CD agnostic and work in any environment with npm, git, and node.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.