Add release pipeline by badcel · Pull Request #324 · Buildalyzer/Buildalyzer · GitHub
Skip to content

Add release pipeline - #324

Open
badcel wants to merge 1 commit into
Buildalyzer:mainfrom
badcel:release-pipeline
Open

badcel wants to merge 1 commit into
Buildalyzer:mainfrom
badcel:release-pipeline

Conversation

@badcel

@badcel badcel commented Nov 25, 2025 •

Copy link
Copy Markdown

Add Release pipeline

This would be the "idea" of the pipeline. I'm not sure if the building will work. Locally I got errors related to net6.0 which is not installed in the pipeline currently (but it is not installed in the already present build workflow, too).

The version number is defined in the Directory.Build.props file for reproducability. So if one checks the nuget package for the originating commit and does a git checkout for it, the produced nuget should be identical to the one from nuget.org. So you would need to bump the version before a new release.

The pipeline allows to define some "version suffix" like "preview.1" which would automatically result in a nuget package versioned for example like "7.1-preview.1".

I enabled continuousintegrationbuild as I understand that it shoud be set for official releases.

I never used nuget trusted publishing myself (I still use api keys for my projects). But there is some configuration needed. See the linked documentation.

Fixes: #323

@badcel
badcel marked this pull request as ready for review November 25, 2025 22:46
@slang25

slang25 commented Nov 30, 2025

Copy link
Copy Markdown
Collaborator

@slang25

slang25 commented Dec 13, 2025

Copy link
Copy Markdown
Collaborator

@phmonte we really need your help here 🙏

@Corniel

Corniel commented Dec 15, 2025

Copy link
Copy Markdown
Collaborator

@badcel Can you resolve the merge conflicts?

@badcel

badcel commented Dec 15, 2025 •

Copy link
Copy Markdown
Author

I think I could but if nuget trusted publishing is not set up it makes no sense. Then I'm rebasing this PR regularly without the commitment of the official owner that it will be useable at all.

@slang25

slang25 commented Dec 16, 2025

Copy link
Copy Markdown
Collaborator

How about we publish a version to feedz.io while we try to sort out the nuget.org credentials.

@phmonte

phmonte commented Dec 17, 2025

Copy link
Copy Markdown
Collaborator

I just released a version with the latest implementations.

8.0.0

@badcel , thank you very much for your contribution.

Currently, the project uses APICompat. In this case, we need to think of a solution to keep it working and to allow us to identify/parameterize in the pipeline when we want to generate a version, even with break-changes.
Did you have time to think of anything?

What do you think? @Corniel and @slang25.

I can add them to azure-devops in the meantime. Currently, the trigger is working correctly; I just made some changes to the current pipeline to generate new versions. The new version of ubuntu-latest didn't allow the use of existing service connections.

@badcel

badcel commented Dec 17, 2025 •

Copy link
Copy Markdown
Author

The pipeline has a field "Version Suffix" of type string which can be filled before starting the pipeline manually.

You can do the same with a Boolean value to influence some tools which run during the release process.

I can rebase the PR if desired but don't have the capacity to add new steps to it.

If you want to include new steps please do it after merging or feel free to push updates to my branch. Whatever suits you best.

@badcel

badcel commented Dec 17, 2025

Copy link
Copy Markdown
Author

I rebased the PR and added dotnet 10 support.

@badcel

badcel commented Dec 18, 2025

Copy link
Copy Markdown
Author

The error looks unrelated to my changes I think?

@Corniel

Corniel commented Feb 27, 2026

Copy link
Copy Markdown
Collaborator

Is this one stale?

@Corniel

Corniel commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator

@badcel Time to have a look?

@badcel

badcel commented Apr 18, 2026

Copy link
Copy Markdown
Author

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.

Release pipeline

4 participants