File: push

package info (click to toggle)
calypso 1.4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 228 kB
  • ctags: 176
  • sloc: python: 1,246; sh: 106; makefile: 6
file content (7 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/sh
revision=${1-HEAD}
version=`git describe "$revision"`
prefix=calypso-"$version"/
output=calypso-"$version".tar.gz
git archive --format tgz --prefix "$prefix"  --output "$output" $revision
scp $output keithp.com:/var/www/calypso