diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2015-02-11 20:41:38 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2015-02-26 22:36:37 +0100 |
commit | 533f04e22534696507e78d0a28e74a1bb3618e24 (patch) | |
tree | 70c80e9d0c7e341b5054ddadca0cc103fbf3c68e /__root__ | |
parent | 3f35f133967f3b3e3c35db44d0612473491d917f (diff) | |
download | clufter-533f04e22534696507e78d0a28e74a1bb3618e24.tar.gz clufter-533f04e22534696507e78d0a28e74a1bb3618e24.tar.xz clufter-533f04e22534696507e78d0a28e74a1bb3618e24.zip |
run-sdist-per-commit: ditto convenient pushed-code sdist'ing
Also include this file into the specfile as extra source if appropriate.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '__root__')
-rwxr-xr-x | __root__/run-sdist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/__root__/run-sdist b/__root__/run-sdist index e7923a7..c89901a 100755 --- a/__root__/run-sdist +++ b/__root__/run-sdist @@ -1,5 +1,6 @@ #/bin/sh -# for locally-commited-only round-trip +# for locally-commited-only round-trip, +# for pushed-code round-trip, see REPO/misc/run-sdist-per-commit pushd "$(git rev-parse --show-toplevel)" git archive --format=tar HEAD | ( cd $(mktemp -d '/var/tmp/pkg-XXXXX') \ |