Skip to content

docs(agents): correct release flow — manual tag, auto GH release - #84

Merged
ANcpLua merged 1 commit into
mainfrom
docs-release-flow
May 4, 2026
Merged

docs(agents): correct release flow — manual tag, auto GH release#84
ANcpLua merged 1 commit into
mainfrom
docs-release-flow

Conversation

@ANcpLua

@ANcpLua ANcpLua commented May 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace 3-line release flow with accurate description of manual-tag-triggers-publish pattern
  • Note that this repo's workflow auto-creates the GH release (unlike ANcpLua.Analyzers)
  • Differentiate from ANcpLua.NET.Sdk's auto-bump-on-merge

Test plan

  • Doc-only

🤖 Generated with Claude Code

…to release

Workflow runs on push: main for build + test only (publish job gated by
is_release=true). Tag push runs publish path → packs, pushes to NuGet,
and gh release create auto-creates the GH release.

Distinguishes from ANcpLua.NET.Sdk's auto-bump-on-merge and from
ANcpLua.Analyzers (no auto GH release).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 4, 2026 10:55
@coderabbitai

coderabbitai Bot commented May 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • AGENTS.md is excluded by none and included by none

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1d3a1d94-f77d-43c2-b9d9-23f37e300828

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands and usage tips.

@ANcpLua
ANcpLua enabled auto-merge (squash) May 4, 2026 10:55

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the documentation in AGENTS.md to detail the manual release flow, where tagging triggers the NuGet publishing process. A recommendation was made to push specific tags rather than using the global --tags flag to avoid accidentally triggering releases for unintended local tags.

Comment thread AGENTS.md
Manual-tag-triggers-publish. The workflow runs on `push: main` for build + test only (publish job gated by `is_release=true`); the tag push triggers the publish path.

1. PR to `main` via squash merge — workflow runs build + test; publish job skipped (`is_release=false`)
2. After merge: `git tag vX.Y.Z && git push --tags` — version comes from `${GITHUB_REF_NAME#v}`, `is_release=true`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Using git push --tags is generally considered a risky practice in shared repositories because it pushes all local tags to the remote. This can lead to accidentally triggering release workflows for experimental or unfinished tags. It is safer to recommend pushing only the specific tag intended for the release.

Suggested change
2. After merge: `git tag vX.Y.Z && git push --tags` — version comes from `${GITHUB_REF_NAME#v}`, `is_release=true`
2. After merge: `git tag vX.Y.Z && git push origin vX.Y.Z` — version comes from `${GITHUB_REF_NAME#v}`, `is_release=true`

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

Updates AGENTS.md to describe the repository’s actual release workflow, emphasizing the “manual tag triggers publish” pattern and clarifying how this repo differs from related ANcpLua repos.

Changes:

  • Replaces the prior 3-step release notes with a more detailed manual-tag release flow description.
  • Documents that tagged releases trigger NuGet publish and that the workflow creates a GitHub Release automatically.
  • Adds comparison notes vs. ANcpLua.NET.Sdk and ANcpLua.Analyzers release patterns.

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

Comment thread AGENTS.md
Comment on lines +162 to +164
Manual-tag-triggers-publish. The workflow runs on `push: main` for build + test only (publish job gated by `is_release=true`); the tag push triggers the publish path.

1. PR to `main` via squash merge — workflow runs build + test; publish job skipped (`is_release=false`)
Comment thread AGENTS.md
Manual-tag-triggers-publish. The workflow runs on `push: main` for build + test only (publish job gated by `is_release=true`); the tag push triggers the publish path.

1. PR to `main` via squash merge — workflow runs build + test; publish job skipped (`is_release=false`)
2. After merge: `git tag vX.Y.Z && git push --tags` — version comes from `${GITHUB_REF_NAME#v}`, `is_release=true`
@ANcpLua
ANcpLua merged commit 9a92950 into main May 4, 2026
21 checks passed
@ANcpLua
ANcpLua deleted the docs-release-flow branch May 4, 2026 10:57
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