Skip to content

Issue #86: Allow flexible installation path for the git-version binary #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robinbaxon
Copy link

Description of Value

Allow consumers of the action to flexibly install the tool to their desired location with elevated privileges, addressing gh-86

Implementation details

  • Allow git-version to be flexibly installed on the runner, retaining the default path of /usr/local/bin
  • Use elevated privileges (sudo) to download and install the tool, assuming github cloud runners have non-interactive/passwordless sudo and self-hosted runners should mimick this capability
  • Fix a trailing space in the git-version execution that otherwise causes the tool to bail (\ as opposed to \

@robinbaxon robinbaxon changed the title GH-86: Allow flexible installation path for the git-version binary Issue #86: Allow flexible installation path for the git-version binary Jul 25, 2025
…n binary

Allow flexible installation path for the git-version binary in order to support self-hosted runners, where installation paths for tooling may vary
Use elevated privileges to download + make tool executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant