blob: 9aadeece62f3ec22340a10896aaa45e59c8a36d4 (
plain)
- #!/bin/bash
- # Simple script to prepare for release
- version="1.2.0b4";
- 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
|