Git Ops v0.5.0 GitOps.VersionReplace View Source

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

Link to this section Summary

Link to this section Functions

Link to this function update_mix_project(mix_project, current_version, new_version) View Source
update_mix_project(module(), String.t(), String.t()) ::
  :ok | {:error, :bad_replace}
Link to this function update_readme(readme, current_version, new_version) View Source
update_readme(String.t(), String.t(), String.t()) ::
  :ok | {:error, :bad_replace}