Skip to content

Commit

Permalink
add script to generate packages
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Descamps <[email protected]>
  • Loading branch information
lefred committed Apr 6, 2021
1 parent 6880e60 commit f2704e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions create_packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

make genall
version=$(cat innotop/innotop.go | grep version | grep ':=' | cut -d'"' -f2)
cd build
for i in $(ls | grep -v 'tar.gz')
do
tar czvf "$i-$version.tar.gz" $i
done
cd -

0 comments on commit f2704e4

Please sign in to comment.