Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bcomnes/releasearoni
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.14
Choose a base ref
...
head repository: bcomnes/releasearoni
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Choose a head ref
  • 7 commits
  • 9 files changed
  • 3 contributors

Commits on Apr 9, 2026

  1. Lint

    bcomnes committed Apr 9, 2026
    Configuration menu
    Copy the full SHA
    20685e8 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2026

  1. Add --major-branch flag for GitHub Actions major version refs

    Opt-in flag that, after a release, creates or hard-resets a major
    version branch ref (e.g. v1, v2) to the release commit and force-pushes
    it to the remote.
    
    This follows the GitHub Actions convention where consumers pin to a
    major version ref (e.g. `uses: owner/action@v1`) and automatically
    receive patch and minor updates without manual ref changes.
    
    - New lib/major-branch.js: parses major from tag, runs git branch -f
      then git push --force origin <major-branch>
    - --major-branch added to args (both CLIs, typedef, help text)
    - preview.js shows the flag when enabled (hidden when false)
    bcomnes committed May 18, 2026
    Configuration menu
    Copy the full SHA
    1630eb8 View commit details
    Browse the repository at this point in the history
  2. Add tests for major-branch module

    Unit tests for majorBranchName covering all tag formats (v-prefixed,
    unprefixed, multi-digit, edge cases). Integration tests for
    updateMajorBranch using a local bare repo as the remote, covering branch
    creation, hard-reset to a newer commit, unparseable tag skip, and
    un-prefixed tag handling.
    bcomnes committed May 18, 2026
    Configuration menu
    Copy the full SHA
    436a529 View commit details
    Browse the repository at this point in the history
  3. Address review: resolve tag to SHA, use git update-ref

    Two correctness fixes from review:
    
    - Use git rev-parse <tag>^{commit} to resolve the exact commit SHA from
      the tag, rather than passing opts.target_commitish which may be a
      branch name and could point to a newer commit if HEAD has moved.
    
    - Switch from git branch -f to git update-ref refs/heads/<branch> so
      the major branch can be updated even when it is currently checked out
      (git branch -f refuses to move HEAD's branch).
    
    Drop the commitish parameter from updateMajorBranch — the tag is now
    the authoritative source. Update integration tests to create git tags
    so git rev-parse resolves correctly.
    bcomnes committed May 18, 2026
    Configuration menu
    Copy the full SHA
    11ccad6 View commit details
    Browse the repository at this point in the history
  4. Document --major-branch flag in README

    Add the flag to both CLI help blocks and add a dedicated section
    explaining when to use it, what it does step by step, and how to wire
    it into package.json scripts.
    bcomnes committed May 18, 2026
    Configuration menu
    Copy the full SHA
    4056b16 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #27 from bcomnes/feature/major-version-branches

    Add --major-branch flag for GitHub Actions major version refs
    bcomnes authored May 18, 2026
    Configuration menu
    Copy the full SHA
    858d708 View commit details
    Browse the repository at this point in the history
  6. 0.2.0

    bcomnes committed May 18, 2026
    Configuration menu
    Copy the full SHA
    e59a8ec View commit details
    Browse the repository at this point in the history
Loading