blob: dde5dc1526a819e3eee8a2e1ded6ab9c20135b2a (
plain)
- #!/bin/bash
- # Simple script to prepare for release
- version="1.3.0_milestone_1";
- build_d="../release";
- if test -d blib; then
- rm -rf blib
- fi
- if test -d _build; then
- rm -rf _build
- fi
- if test -d $build_d/ledger-smb; then
- rm -rf $build_d/ledger-smb
- fi
- if test ! -d $build_d; then
- mkdir $build_d
- fi
- mkdir $build_d/ledger-smb
- cp -R * $build_d/ledger-smb
- cd $build_d/ledger-smb
- pwd
- find -name '*.svn' -exec rm -rf '{}' ';'
- rm ledger-smb.conf
- cd ..
- tar -zcvf ledger-smb-$version.tar.gz ledger-smb
|