Skip to content

chore: apply plugin version discipline#23

Merged
intel352 merged 2 commits into
mainfrom
issue-760-version-discipline
Jun 1, 2026
Merged

chore: apply plugin version discipline#23
intel352 merged 2 commits into
mainfrom
issue-760-version-discipline

Conversation

@intel352

@intel352 intel352 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Part of GoCodeAlone/workflow#760.\n\nChanges:\n- keep committed plugin.json.version at the 0.0.0 development sentinel\n- add post-build release validation against the .goreleaser-tmp shipped manifest staging directory\n- update the download matrix test to allow the committed sentinel while preserving release artifact coverage\n\nVerification:\n- wfctl plugin validate-contract .\n- wfctl plugin validate-contract --for-publish --tag v9.9.9 .\n- GOWORK=off go test ./...

Copilot AI review requested due to automatic review settings June 1, 2026 17:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enforces “version discipline” for the Discord Workflow plugin by keeping the committed manifest at a development sentinel version while adding CI validation to ensure the shipped (GoReleaser-staged) manifest is correctly stamped for releases.

Changes:

  • Set plugin.json.version to the 0.0.0 development sentinel.
  • Add a post-build GitHub Actions step to validate the GoReleaser-staged manifest in .goreleaser-tmp against the release tag.
  • Relax the download-matrix test to allow a sentinel manifest version while still checking archive naming.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
plugin.json Keeps the committed manifest at the 0.0.0 dev sentinel version.
internal/plugin_test.go Updates the download-matrix test to tolerate sentinel versioning logic.
.github/workflows/release.yml Adds post-build validation of the staged/shipped manifest in .goreleaser-tmp.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/plugin_test.go
@intel352 intel352 merged commit 975b22e into main Jun 1, 2026
4 checks passed
@intel352 intel352 deleted the issue-760-version-discipline branch June 1, 2026 17:35
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.

2 participants