Skip to content

v0.30.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Oct 23:36
· 86 commits to main since this release
1bf3ef3

This release makes stackit work out of the box with GitHub Enterprise Server and makes submit recover from interrupted PR updates.

Highlights

  • GitHub credentials now resolve for your remote's host. Stackit asks gh for the token belonging to the host in your origin URL (gh auth token --hostname <host>), and on GitHub Enterprise Server hosts prefers GH_ENTERPRISE_TOKEN / GITHUB_ENTERPRISE_TOKEN over GITHUB_TOKEN. GHES users no longer need a GH_HOST workaround. See the new "GitHub authentication" section in the README.
  • stackit submit retries a PR write that failed after the push. Previously, if the branch push succeeded but the PR create/update failed, the next submit saw the branch as up to date and skipped it. Branches are now marked pending before pushing and cleared only once their PR write succeeds, so re-running submit finishes the job.
  • split's commit editor now uses the same editor as the rest of stackit. It honors GIT_EDITOR, EDITOR, and git config core.editor, falling back to vi. Note: $VISUAL is no longer consulted here, and the fallback changed from vim to vi.

Fixes

  • Resolved GitHub credentials for the remote's host, adding GitHub Enterprise token env vars and per-host gh lookups (#1834).
  • Retried a submit whose PR write failed after the push (#1835).

Refactors

  • Shared editor resolution between the CLI and the split commit editor (#1830).

Chore

  • Updated Go and web dependencies to latest (#1831).

What's Changed

  • refactor: share editor resolution with split commit editor by @jonnii in #1830
  • chore: update Go and web dependencies to latest by @jonnii in #1831
  • fix: resolve GitHub credentials for the remote's host by @jonnii in #1834
  • fix: retry a submit whose PR write failed after the push by @jonnii in #1835

Full Changelog: v0.29.0...v0.30.0