goreleaser-action/__tests__
Carlos Alexandro Becker 5fd99f0f14
feat: add version-file input
Resolves the GoReleaser version from a file. Currently supports the
asdf/mise `.tool-versions` format; resolved value takes precedence
over the `version` input.

  # .tool-versions
  goreleaser 2.13.0

  - uses: goreleaser/goreleaser-action@v7
    with:
      version-file: .tool-versions
      args: release --clean

Path is resolved relative to `workdir` unless absolute. Bare semvers
are auto-prefixed with `v`; constraint expressions and `latest` are
returned as-is. Multiple fallback versions per asdf convention are
accepted but only the first is used.

Refs #541
Closes #542

Co-authored-by: Anthony Couvreur <22034450+acouvreur@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 16:27:46 -03:00
..
github.test.ts fix: use new static URL 2026-03-22 23:43:18 -03:00
goreleaser.test.ts test: cover install across release eras (#555) 2026-04-18 15:55:31 -03:00
version.test.ts feat: add version-file input 2026-04-18 16:27:46 -03:00