make-release.sh: update
This commit is contained in:
parent
d83675d3a0
commit
167b99c4e2
1 changed files with 3 additions and 1 deletions
|
@ -2,11 +2,13 @@
|
|||
# usage: make-release.sh release
|
||||
# Make a tarball of software excluding git history and leftover files
|
||||
|
||||
[ -z "$1" ] && printf 'usage: make-release.sh version\n' && exit 1
|
||||
|
||||
name="$(basename "$(pwd)")"
|
||||
cd ../
|
||||
cp -R "$name" "$1"
|
||||
cd "$1"/
|
||||
rm -fr .git
|
||||
rm -fr .git .build.yml .builds
|
||||
|
||||
IFS="\n"
|
||||
if [ -e .gitignore ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue