Compare commits

...

2 Commits

Author SHA1 Message Date
Olaoluwa Osuntokun 91c0e92c4a
cmd/loop: fix bug in optional swep addr parsing
In this commit we fix a recently introduce bug (when the addr kwarg was
added) that caused all commands to fail with an error. The issue was we
didn't advance the args linked list to the final element.
5 years ago
Olaoluwa Osuntokun 1a9c7523a3
release: update release script w/ proper build flag target 5 years ago

@ -50,6 +50,7 @@ func loopOut(ctx *cli.Context) error {
}
var destAddr string
args = args.Tail()
switch {
case ctx.IsSet("addr"):
destAddr = ctx.String("addr")

@ -42,7 +42,7 @@ SYS=${LOOPBUILDSYS:-"windows-386 windows-amd64 openbsd-386 openbsd-amd64 linux-3
# (something that is totally allowed).
PKG="github.com/lightninglabs/loop"
COMMIT=$(git describe --abbrev=40 --dirty)
COMMITFLAGS="-X $PKG/build.Commit=$COMMIT"
COMMITFLAGS="-X $PKG.Commit=$COMMIT"
for i in $SYS; do
OS=$(echo $i | cut -f1 -d-)

Loading…
Cancel
Save