GitOps.VersionReplace (Git Ops v2.10.0)

View Source

Functions that handle the logic behind replacing the version in related files.

Summary

Functions

update_managed_file(arg, current_version, new_version, opts \\ [])

@spec update_managed_file(
  {String.t(), (String.t() -> String.t()), (String.t() -> String.t())},
  String.t(),
  String.t(),
  keyword()
) :: String.t() | {:error, :bad_replace}