Skip to content

[Making a formula for nirui/sshwifty] fatal: not a git repository #4976

Discussion options

You must be logged in to vote

You just need to move the binary into bin/:

bin.install "sshwifty"

The fatal: not a git repository is from npm run build assuming it's in a git dir. you can update url to use a git clone or patch it out:

inreplace "package.json", "application.version=$(git describe --always --dirty='*' --tag)", "application.version=#{version}"

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@unbeatable-101
Comment options

@SMillerDev
Comment options

Comment options

You must be logged in to vote
1 reply
@unbeatable-101
Comment options

Answer selected by unbeatable-101
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants