File: make-dist.sh

package info (click to toggle)
tiled-qt 0.5.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,120 kB
  • ctags: 1,541
  • sloc: cpp: 11,081; xml: 117; makefile: 17; sh: 8
file content (8 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/bash
if [ "$#" -eq "0" ]; then
    echo "Usage: make-dist.sh <version>"
    exit 1
fi
name="tiled-qt-$1"
git archive -v --prefix="$name/" HEAD | gzip > "$name.tar.gz"
echo "Release ready as $name.tar.gz"