File: make_release.sh

package info (click to toggle)
flann 1.9.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 81,644 kB
  • sloc: cpp: 13,643; python: 1,046; ruby: 419; ansic: 87; makefile: 22; sh: 5
file content (6 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
#!/bin/bash
VERSION=`grep "set(FLANN_VERSION" CMakeLists.txt  | sed 's/[^0-9]*\([0-9]*\.[0-9]*\.[0-9]*\)[^0-9]*/\1/'`

echo "Creating flann-$VERSION-src.zip"

git archive --prefix=flann-$VERSION-src/ -o flann-$VERSION-src.zip $VERSION-src