Skip to content
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

[CI/CD] Get Github Actions Working Properly #34

Open
NikRimington opened this issue Dec 17, 2023 · 0 comments
Open

[CI/CD] Get Github Actions Working Properly #34

NikRimington opened this issue Dec 17, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@NikRimington
Copy link
Owner

Feature summary

I am after 2 Github Actions, or one clever one that can do multiple things depending on conditions.

Step 1 - Build and Package - this should run against every commit to develop or PR to develop to ensure that the code can be built and packaged.

Step 2 - if the action is triggered via a new Release/Tag it should do step 1 and then push to nuget.

Things to note:

Ideally the action would pick up the last version from the tags on the repo - tag standard should start with v and then be "semver" ish - e.g. v1.0.0

If the action is running only step 1, i.e. was triggered by a PR or a commit to develop, then it should increment the minor number for the last tag and add a -pre suffix using the build/run instance id so it's unique. This should be used during the build and packaging stage.

If the action is running because it was triggered by a tag, then the build and package part should use the new tag as the version number for build and packaging

Hopefully all makes sense

Additional details

No response

@NikRimington NikRimington added enhancement New feature or request help wanted Extra attention is needed labels Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant