Skip to content

Commit

Permalink
Set the right gzip file extension (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch authored May 4, 2024
1 parent 60d206c commit c1d8c0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/target
.env
mostro.db*
mostro.log

# Relay data
/relay/data/*
Expand Down
3 changes: 2 additions & 1 deletion cross-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ file="archs"
manifest="manifest.txt"
arch=`cat $file`
mkdir -p bin
rm bin/*
for i in $arch; do
echo "Cross compiling for $i"
cross build --release --target $i
Expand All @@ -17,7 +18,7 @@ for i in $arch; do
mkdir $i
cp $filename $i/
sha256sum $i/$filename >> ../../../bin/$manifest
tar -cjf $app-$i.tar.gz $i
tar -czf $app-$i.tar.gz $i
sha256sum $app-$i.tar.gz >> ../../../bin/$manifest
mv $app-$i.tar.gz ../../../bin
rm -rf $i
Expand Down

0 comments on commit c1d8c0d

Please sign in to comment.