File: archive.sh

package info (click to toggle)
cryfs 0.9.10-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,832 kB
  • sloc: cpp: 80,948; python: 7,881; ansic: 4,097; sh: 1,895; makefile: 1,707
file content (10 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/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

git archive --format=tar "$1" | xz -9 > cryfs-$1.tar.xz
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign cryfs-$1.tar.xz