File: archive.sh

package info (click to toggle)
cryfs 0.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,592 kB
  • ctags: 19,015
  • sloc: cpp: 80,098; python: 7,872; ansic: 3,054; sh: 1,883; makefile: 1,710
file content (7 lines) | stat: -rwxr-xr-x 149 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/bash

TAG=$1
GPGHOMEDIR=$2

git archive --format=tgz "$1" > cryfs-$1.tar.gz
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign cryfs-$1.tar.gz