Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request vitessio#6159 from planetscale/morgo-fix-release-s…
Browse files Browse the repository at this point in the history
…cript

Fix regression in release script
  • Loading branch information
morgo authored May 7, 2020
2 parents 4d3eb9f + e15c5ec commit 7c01c40
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tools/make-release-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,22 @@ done;

# Copy remaining files, preserving date/permissions
# But resolving symlinks
mkdir -p "${RELEASE_DIR}"/share/vitess/
cp -rpfL examples "${RELEASE_DIR}"/share/vitess/
cp -rpfL examples "${RELEASE_DIR}"

echo "Follow the binary installation instructions at: https://vitess.io/docs/get-started/local/" > "${RELEASE_DIR}"/share/vitess/examples/README.md
echo "Follow the installation instructions at: https://vitess.io/docs/get-started/local/" > "${RELEASE_DIR}"/examples/README.md

cd "${RELEASE_DIR}/.."
tar -czf "${TAR_FILE}" "${RELEASE_ID}"

cd "${RELEASE_DIR}"
PREFIX=${PREFIX:-/usr}

# For RPMs and DEBs, binaries will be in /usr/bin
# Examples will be in /usr/share/vitess/examples

mkdir -p share/vitess/
mv examples share/vitess/

fpm \
--force \
--input-type dir \
Expand Down

0 comments on commit 7c01c40

Please sign in to comment.