Conversation
Co-authored-by: MaksyKun <77341370+MaksyKun@users.noreply.github.com>
Co-authored-by: MaksyKun <77341370+MaksyKun@users.noreply.github.com>
Co-authored-by: MaksyKun <77341370+MaksyKun@users.noreply.github.com>
Contributor
|
@copilot There are two more things I need to optimize:
|
Co-authored-by: MaksyKun <77341370+MaksyKun@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve build pipeline for version updates in Maven
Automate Maven version updates in release pipeline
Nov 16, 2025
Co-authored-by: MaksyKun <77341370+MaksyKun@users.noreply.github.com>
Contributor
Author
Done! Split the pipeline as requested: Build CI Workflow (
Release Workflow (
Commit: a5bf32b |
Copilot
AI
changed the title
Automate Maven version updates in release pipeline
Split CI/CD pipeline: Build CI and automated release workflow with version management
Nov 16, 2025
MaksyKun
approved these changes
Nov 16, 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.
The build pipeline creates semantic versioned releases but was building artifacts with hardcoded
1.0.0-SNAPSHOTversion, resulting in mismatched artifact names. Additionally, the pipeline needed to be split into separate build and release workflows for better efficiency.Changes
Split into two separate workflows:
1. Build CI Workflow (
.github/workflows/build-ci.yml) - NEWsrc/**files change2. Release Workflow (
.github/workflows/release.yml) - NEWdevormainbranches are mergedpom.xmlvia Maven Versions Plugin:mvn versions:set -DnewVersion=X.X.Xplugin.ymlvia sed:s/^version: .*/version: X.X.X/Versioning rules:
dev: patch bump (v0.0.0 → v0.0.1)main: minor bump (v0.0.1 → v0.1.0)Removed:
.github/workflows/build.yml- Replaced by the two specialized workflows aboveResult
QuickStocks-X.X.X.jarmatching release tagsDocumentation
Documentation/PIPELINE_VERSIONING.md- Split workflow architecture and versioning system referenceDocumentation/PIPELINE_WORKFLOW_DIAGRAM.md- Visual diagrams for both workflowsDocumentation/PIPELINE_VERSIONING_IMPLEMENTATION.md- Implementation detailsOriginal prompt
<issue_description>I created a build pipeline to use semantic versioning and create tag + release out of the plugin.
Please improve it to automatically commit a version update into maven too so that the Plugin gets in dev/main into "QuickStocks-X,X,X" </issue_description>
Comments on the Issue (you are @copilot in this section)
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.