-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolves: Consolidate current pipelines into a single pipeline with additional features #78
Conversation
* add .vscode folder to .gitignore * add build and test pipeline * add steps for publishing to NuGet * fix the ids for the publishing steps * test pipeline without nuget keys in Create and publish steps * check generated files in pipeline * check generated files in pipeline with pwsh * add a step that watches for file changes * restrict cd job execution to "push to default branch" * Update ci-cd.yml Co-authored-by: aleks-ivanov <aleksandar.ivanov@singlet.dev> Co-authored-by: Aleksandar Ivanov <74899441+aleks-ivanov@users.noreply.github.com>
I'm interested in how automatic semantic versioning would work and in GitHub Release publishing. What would that involve / look like? |
Hi @ardalis, Example(fix/PATCH): Result: v1.2.3 -> v1.2.4 If there is no prefix label in the commit message the tag generator does not create a new tag.
The new version created by the automatic Semantic Versioning step can be applied to the .csproj file during the execution of the pipeline, to be used in the package creation.
Currently, in the CD job (which is executed on every push commit) there is a step called "Filter changes" that looks at the two project folders, detects changes and determines which one or both projects should be packaged and deployed to NuGet. For an example of automatic versioning, checkout this short video presentation about our contribution to the Notepads project. |
You mentioned docs - where are the docs on this?
|
The pipeline runs:
With this contribution, we consolidate the current pipelines into a single pipeline, so please let us know if anything could be done better and/or if any other automation is required by the project! We would be happy to improve it to satisfactory completion 🙂
In addition, the following features might be of value to the project and if you agree, we will be happy to add them to the pipeline:
Resolves #77