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
Add a production build action #8
Comments
iBrotNano
added
the
task
Work on the project, the build pipeline or any other task.
label
Feb 24, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 13, 2023
#8 Changed the version of production builds to Major.Minor.Patch
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
feat(#8): Changed the condition of the release automation.
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 14, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
feat(#8): Added files and documentation to the release.
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
…t is shown in GitHub as information for the NuGet.
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 16, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 17, 2023
iBrotNano
added a commit
that referenced
this issue
Mar 17, 2023
Merged
iBrotNano
added a commit
that referenced
this issue
Mar 21, 2023
* #8 Added version number for production builds * #8 Tags are only set for production builds * Upload only nugets * #8 Added version number for production builds * #8 Tags are only set for production builds * Upload only nugets * #8 Start a build on a pull request to production * #8 Build of production branch * #8 Start a build on a pull request to production * #8 Build of production branch * #8 Changed versions of actions to major varsion only * Only tag production build conditiion fix * #8 Changed the version of production builds to Major.Minor.Patch - Upload the NuGet as artefact * #8 Uploading all build artefacts * #8 Uploading only the nuget folder as artefact * #8 Renamed the nuget artefact * #8 Uploading README.md and CHANGELOG.md as artefacts * #8 Pushing to GitHub NuGet Repository * #8 Fixed the name of the NuGet for publishing * feat(#8): Release on push to branch production * feat(#8): Changed the condition of the release automation. * feat(#8): Configured the automatic release * feat(#8): Changed evaluation of PACKAGE_VERISON for releases. * feat(#8): Added files and documentation to the release. * feat(#8): Reading the release notes for the NuGet from CHANGELOG.md. * feat(#8): Using release notes as description of the project because it is shown in GitHub as information for the NuGet. * feat(#8): Setting version in CHANGELOG.md. * feat(#8): Added test release notes. * feat(#8): Generating release notes by GitHub. * feat(#8): Removed the release not generation. * feat(#8): Cleanup the NuGet repo with each build. * feat(#8): Added comments and disabled warning for example projects. * feat(#8): Added #8 to the CHANGELOG.md and removed the updated dependencies section
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requirements
Open Questions?
Nothing
Blockers
No blockers
Description
A build for the production branch must be implemented. For this branch the versions must be set without any suffixes. It is the branch wich targets the releases. Tags are only set when this branch is built because every commit to this branch is a release. The build should stored as a package.
Conditions
Commit from source. The branch should be startet from scratch after the implementation is done. This means I have to delete it after the implementation.
Side effects
No
Acceptance tests
production
.production
is shown in README.mdDesign
There is already a script
build.yml
. This should be the only place where a build is configured. Withif: github.ref_name == 'production'
a condition can be defined where all the necessary steps can be performed.Info: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context describes all conditions which can be checked.
This can be used to set the version number as needed or do branch specific tasks like setting a version tag.
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts describes how artefacts can be stored.
https://docs.github.com/en/actions/publishing-packages/about-packaging-with-github-actions shows how to publish a package.
https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge#using-the-branch-parameter describes how to set a status badge for the build.
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry documents the GitHub NuGet Repository which can be used as a store for this project.
Dissection
production
must be made to check if a build starts.production
and check GitHub Packages for a new NuGet.production
.production
is shown as a status badge in README.md.Development
TODOs
feature
branch if needed (Maybe configuration changes or new project files)production
production
buildsprodutcion
builds<Major>.<Minor>.<Patch>
as version numberproduction
buildsproduction
builds with the NuGetsproduction
Notes
Expressions can be combined with operators described at https://docs.github.com/en/actions/learn-github-actions/expressions.
There is some documentation generated for a build. These documents are:
Note: https://github.com/actions/upload-artifact describes how to upload artefacts in multiple ways.
https://dev.to/j_sakamoto/writing-a-nuget-package-release-notes-in-an-outside-of-a-csproj-file-3f94 shows how to read the release notes from a file.
There is an action to delete old packages.
Note: https://github.com/actions/delete-package-versions
I will implement the following policy for NuGet package deletion:
production
builds.Note: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/errors-warnings shows how to configure the warning behaviour of MSBuild.
Debug
production
for testingproduction
after the tests are doneDocumentation
Decisions
<Major>.<Minor>.<Patch>
as version for tags.production
.PIAs
☠
Links
Demo
production
All acceptance tests pass.
Deployment
feature
intomaster
with asquash
and remove thefeature
branch (Feature/#8 #37)The text was updated successfully, but these errors were encountered: