Skip to content

Commit 3b5a29d

Browse files
committed
Fix tarball directory name
1 parent c830cf8 commit 3b5a29d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ build() {
2929
cp $BWT_BIN_DIST/bwt-$version-electrum_only-$platform/* $dest
3030
cp src/*.py $dest
3131
cp LICENSE README.md $dest
32-
pack $name
32+
33+
# needs to be inside a directory with a name that matches the plugin module name for electrum to load it,
34+
# create a temporary link to get tar/zip to pack it properly. (can also be done for tar.gz with --transform)
35+
ln -s $name dist/bwt
36+
pack $name bwt
37+
rm dist/bwt
3338
}
3439

3540
# pack tar.gz (for linux/mac/arm) or zip (for windows)

0 commit comments

Comments
 (0)