Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Properly build tarball for distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
sargun committed Apr 12, 2018
1 parent a8c31da commit a1a4ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/builder/titus-executor-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [[ -n "${BUILD_NUMBER:-}" ]]; then
fi

# Build a tarball
mkdir build/tarball
mkdir -p build/tarball
install -t build/tarball build/bin/linux-amd64/*
install -t build/tarball root/apps/titus-executor/bin/run
tar -czv -C build/tarball -f ${outdir}/titus-executor-${version}.tar.gz .
Expand Down Expand Up @@ -123,7 +123,7 @@ lintian --suppress-tags statically-linked-binary,unstripped-binary-or-object,deb
--no-tag-display-limit "${outdir}/${filename}"

mv "${outdir}"/titus-executor_"${version}"*.deb /dist

cp ${outdir}/titus-executor-${version}.tar.gz /dist
echo "## Updating the symlink: titus-executor_latest.deb -> ${filename}" >&2
ln -sf "$filename" /dist/titus-executor_latest.deb

Expand Down

0 comments on commit a1a4ce2

Please sign in to comment.