Skip to content

Commit

Permalink
upload-release.sh: include sources from cswrap submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudka committed Jan 15, 2018
1 parent 5c47ce8 commit 8f8dd3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upload-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ test -n "$TOKEN" || usage
SRC_TAR="${NV}.tar"
git archive --prefix="$NV/" --format="tar" HEAD -- . > "$SRC_TAR" \
|| die "failed to export sources"
(cd cswrap && git archive --prefix="$NV/cswrap/" --format="tar" HEAD -- \
cswrap-util.{c,h} > ../cswrap-util.tar) \
|| die "failed to export submodule"
tar -Af "$SRC_TAR" cswrap-util.tar || die "failed to concatenate TAR"

# produce .tar.gz
TAR_GZ="${NV}.tar.gz"
Expand Down

0 comments on commit 8f8dd3d

Please sign in to comment.