File: get-orig-source.sh

package info (click to toggle)
task 2.6.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 7,076 kB
  • sloc: cpp: 45,964; python: 12,713; sh: 785; perl: 189; makefile: 21
file content (8 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh

set -eux
version="$1"
echo downloading git tag v${version}
git clone -b v${version} --depth 1 --recursive https://github.com/GothenburgBitFactory/taskwarrior.git task-git
tar -cJ --wildcards --owner=root --group=root --mode=a+rX --exclude '.git*' --exclude doc/ref -f task_${version}+dfsg.orig.tar.xz task-git
rm -rf task-git