#!/bin/sh # Do not use: that makes an uselessly bloated tarball for a few commits # after the release. gitname=at-spi2-core pkgname=at-spi2-core CWD=$(pwd) ( cd /data/GitHub/$gitname git pull cat < .gitattributes /data /m4 ./.gitattributes EOF #cat .gitattributes #gitrev=git$(git log -n 1 --format=format:%h .) gitrev=260a4414 gitrev=d70ab37c gitrev=3332ae21 gitrev=befced84 git archive --worktree-attributes --prefix=${pkgname}-$gitrev/ $gitrev | xz > $CWD/${pkgname}-${gitrev}.tar.xz #rm .gitattributes )