Browse Source

remove unneeded stuff, save as a tar ball gzipped

pull/2/head
Odilitime 2 years ago
parent
commit
24c8db7646
1 changed files with 4 additions and 7 deletions
  1. 4
    7
      reltools/linux/package_from_darwin.sh

+ 4
- 7
reltools/linux/package_from_darwin.sh View File

@@ -1,12 +1,9 @@
#!/bin/bash
physicalCpuCount=$([[ $(uname) = 'Darwin' ]] &&
sysctl -n hw.physicalcpu_max ||
lscpu -p | egrep -v '^#' | sort -u -t, -k 2,4 | wc -l)
mkdir netrunner-$(date +%F)
cd netrunner-$(date +%F)
cp ../../../*.ttf .
curl https://gyroninja.net:1615/job/NetRunner/lastSuccessfulBuild/artifact/netrunner > netrunner
cp ../../../*.ttf .
curl https://gyroninja.net:1615/job/NetRunner/lastSuccessfulBuild/artifact/netrunner > netrunner
cd ..
zip -r -X netrunner-$(date +%F)-linux.zip netrunner-$(date +%F)
tar zcf netrunner-$(date +%F)-linux.tar.gz netrunner-$(date +%F)
rm -fr netrunner-$(date +%F)
# https://gitgud.io/snippets/29
# https://gitgud.io/snippets/29

Loading…
Cancel
Save