railpack

Configure and troubleshoot Railpack builds, with emphasis on RAILPACK_* environment variables, railpack.json overlays, build-plan inspection, local CLI installation and usage, and local BuildKit containers. Use for Railpack provider configuration, custom install/build/start commands, Mise or Apt packages, build or runtime variables and secrets, generated-plan debugging, BUILDKIT_HOST errors, or running Railpack from a release or source checkout.

Install
npx skills add 'https://github.com/railwayapp/railpack/tree/main/.'
Incomplete bundle · no download
main · 21a254fScanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

.mise/tasks/mise-version-newer-than-main

.mise/tasks/mise-version-newer-than-mainBrowse 1970 files
View on GitHub
← Back to SKILL.md
#!/usr/bin/env python3# Description: exit successfully when the pinned mise version is newer than origin/main. import subprocessimport sysfrom pathlib import Path """Exit successfully only when the pinned mise version is newer than origin/main. `version.txt` uses dot-separated numeric versions like `2026.6.5`, so plain stringcomparison is not sufficient once any segment reaches multiple digits. This also prevents contributor PRs that carry an older mise version from triggeringan unnecessary image rebuild, which could fail because those image tags may notexist in the registry."""  def parse_version(value: str) -> tuple[int, ...]:    return tuple(int(part) for part in value.strip().split("."))  repo_root = subprocess.run(    ["git", "rev-parse", "--show-toplevel"],    capture_output=True,    text=True,    check=True,).stdout.strip() current = Path(repo_root, "core/mise/version.txt").read_text().strip()result = subprocess.run(    ["git", "show", "origin/main:core/mise/version.txt"],    cwd=repo_root,    capture_output=True,    text=True,)main = result.stdout.strip() if result.returncode == 0 else "" sys.exit(0 if not main or parse_version(current) > parse_version(main) else 1)