Skip to content

[Feature]: Release Script #31

@Malcolmnixon

Description

@Malcolmnixon

Problem Statement

The ReqStream tool needs a release workflow.

Proposed Solution

Add a release.yaml file that:

  • Is executed on workflow-dispatch
  • Has a required 'version' input for specifying the release version string
  • Has a required 'publish' input choice for picking the publish type (none, release, or publish)
  • Runs a 'build' job (using the build.yaml reusable workflow) on ubuntu-latest
  • Runs a 'release' job on ubuntu-latest which:
    • Installs dotnet 10.x
    • Downloads the build artifacts
    • If the 'publish' input is 'release' or 'publish' then run ncipollo/release-action to publish the artifacts and generate release notes, and tag the repository with the 'version' input
    • If the 'publish' input is 'publish' then run dotnet nuget push to push the nupkg file to nuget.org using the 'DEMACONSULTINGNUGETKEY secret.

Alternatives Considered

No response

Additional Context

No response

Priority

Medium - Would improve workflow

Contribution

  • I would be willing to submit a PR for this feature

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions