d2/ci/release/template
2022-12-01 12:29:50 -08:00
..
man pr292: Review fixes 2022-12-01 09:24:50 -08:00
scripts release: Use sudo automatically when installing/uninstalling 2022-12-01 12:29:50 -08:00
LICENSE.txt ci/release: Checkpoint 2022-11-13 22:49:45 -08:00
Makefile release: Use sudo automatically when installing/uninstalling 2022-12-01 12:29:50 -08:00
README.md.sh ci/release: Use release.sh script in ci/sub 2022-11-14 05:37:11 -08:00

#!/bin/sh
set -eu

cat <<EOF
# d2

For docs, more installation options and the source code see https://oss.terrastruct.com/d2

version: $VERSION

## Install

\`\`\`sh
make install DRY_RUN=1
# If it looks right, run:
make install
\`\`\`

Pass \`PREFIX=whatever\` to change the installation prefix.

## Uninstall

\`\`\`sh
make uninstall DRY_RUN=1
# If it looks right, run:
make uninstall
\`\`\`
EOF