mritd / gitflow-toolkit

A simple toolkit for GitFlow.
MIT License
232 stars 18 forks source link

install error #23

Closed airfield20 closed 2 years ago

airfield20 commented 2 years ago

When trying to install using existing go installation:

aaron@herbert:~/Repos/i3-gaps$ go install github.com/mritd/gitflow-toolkit/v2@latest
go: downloading github.com/mritd/gitflow-toolkit/v2 v2.1.4
go: downloading github.com/mritd/gitflow-toolkit v1.0.2
go: github.com/mritd/gitflow-toolkit/v2@latest (in github.com/mritd/gitflow-toolkit/v2@v2.1.4):
    The go.mod file for the module providing named packages contains one or
    more replace directives. It must not contain directives that would cause
    it to be interpreted differently than if it were the main module.

This happens when trying to install using the instructions in the readme.

aaron@herbert:~/Downloads/Applications$ sudo ./gitflow-toolkit_darwin_amd64 install
./gitflow-toolkit_darwin_amd64: 1: ����: not found
./gitflow-toolkit_darwin_amd64: 2: Syntax error: ")" unexpected
mritd commented 2 years ago

I'm sorry, I forgot to fix the go.sum file.

It's fixed now, but since the go mode cache is not invalidated you may need to execute the following command to install:

go install github.com/mritd/gitflow-toolkit/v2@v2.1.5