File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 85
85
if : ${{ env.SUBTREE_PR_EXISTS == 'no' }}
86
86
run : |
87
87
cd splitsh-lite
88
- sudo apt-get install -y libgit2-dev
88
+ sudo apt-get install -y golang libgit2-dev
89
+ # git2go upstream hasn't been updated to more recent versions of
90
+ # libgit2, so using a fork that does stay up to date
89
91
sed -i 's#github.com/libgit2/git2go#github.com/jeffwelling/git2go#' go.mod splitter/*
92
+ # may need to adjust "v37" to a higher number per
93
+ # https://github.com/jeffWelling/git2go?tab=readme-ov-file#which-go-version-to-use
94
+ # depening on the libgit2 version being installed
90
95
sed -i -e 's/v34/v37/g' go.mod splitter/*.go
96
+ # v37.0.0 had issues that weren't fully fixed until v37.0.4
91
97
sed -i 's/v37.0.0/v37.0.4/' go.mod
92
98
go mod tidy
93
99
go build -o splitsh-lite github.com/splitsh/lite
You can’t perform that action at this time.
0 commit comments