File: push

package info (click to toggle)
calypso 2.1-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 276 kB
  • sloc: python: 1,675; sh: 119; makefile: 4
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