Skip to content

Add Azure DevOps automated release pipeline#23

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/automate-release-pipeline
Draft

Add Azure DevOps automated release pipeline#23
Copilot wants to merge 2 commits intomasterfrom
copilot/automate-release-pipeline

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 11, 2026

Automate releases by bumping the version in package.json, building distributable files, committing the change back to the branch, and publishing the artifact — all from a single pipeline run.

Pipeline (azure-pipelines.yml)

  • Trigger: pushes to master; pr: none to skip PR builds
  • Version bump: uses npm version --git-tag-version=false; strips the v prefix so the stored variable matches the semver format in package.json
  • Build: runs npx gulp build to produce dist/
  • Commit & tag: does a --rebase pull before pushing to reduce race conditions on concurrent runs; commits with [skip ci] to avoid re-triggering; creates a vX.Y.Z tag
  • Artifact: publishes dist/ as a named build artifact consumable by downstream release stages

Controlling the bump type

Override the versionBump variable at queue time:

patch  (default)  2.0.3 → 2.0.4
minor             2.0.3 → 2.1.0
major             2.0.3 → 3.0.0

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: ciprianciurea <5228075+ciprianciurea@users.noreply.github.com>
Copilot AI changed the title [WIP] Add AI automation for release pipeline in Azure Add Azure DevOps automated release pipeline Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants