Skip to content

Add release workflow with GitHub release and NuGet publishing#32

Merged
Malcolmnixon merged 6 commits intomainfrom
copilot/add-release-workflow-script
Jan 9, 2026
Merged

Add release workflow with GitHub release and NuGet publishing#32
Malcolmnixon merged 6 commits intomainfrom
copilot/add-release-workflow-script

Conversation

Copy link
Contributor

Copilot AI commented Jan 9, 2026

Release Workflow Implementation

  • Explore repository structure and existing workflows
  • Create release.yaml workflow file with:
    • workflow_dispatch trigger with version and publish inputs
    • Build job using the reusable build.yaml workflow on ubuntu-latest
    • Release job on ubuntu-latest with conditional release and publish steps
  • Verify workflow file passes YAML linting
  • Manual validation of workflow structure
  • Address code review feedback:
    • Use consistent dotnet-version format
    • Include all supported dotnet versions (8.x, 9.x, 10.x)
    • Add --skip-duplicate flag to NuGet push command
    • Add error handling (set -e) to NuGet push command
    • Update version input description to show example format
  • Request final code review
  • Run security scan (no issues found)
Original prompt

This section details on the original issue you should resolve

<issue_title>[Feature]: Release Script</issue_title>
<issue_description>### 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</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Jan 9, 2026
Copilot AI and others added 4 commits January 9, 2026 02:07
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copilot AI changed the title [WIP] Add release workflow for ReqStream tool Add release workflow with GitHub release and NuGet publishing Jan 9, 2026
Copilot AI requested a review from Malcolmnixon January 9, 2026 02:14
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
@Malcolmnixon Malcolmnixon marked this pull request as ready for review January 9, 2026 02:25
@Malcolmnixon Malcolmnixon merged commit de99703 into main Jan 9, 2026
12 checks passed
@Malcolmnixon Malcolmnixon deleted the copilot/add-release-workflow-script branch January 9, 2026 02:27
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.

[Feature]: Release Script

2 participants