mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
dist: dont mkdir in container
This commit is contained in:
2
Makefile
2
Makefile
@@ -20,7 +20,7 @@ build:
|
||||
@ go build -i github.com/tendermint/abci/cmd/...
|
||||
|
||||
dist:
|
||||
@ sudo bash scripts/dist.sh
|
||||
@ bash scripts/dist.sh
|
||||
@ bash scripts/publish.sh
|
||||
|
||||
# test.sh requires that we run the installed cmds, must not be out of date
|
||||
|
@@ -21,12 +21,11 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
||||
# Change into that dir because we expect that.
|
||||
cd "$DIR"
|
||||
|
||||
## Generate the tag.
|
||||
#if [ -z "$NOTAG" ]; then
|
||||
# echo "==> Tagging..."
|
||||
# git commit --allow-empty -a -m "Release v$VERSION"
|
||||
# git tag -a -m "Version $VERSION" "v${VERSION}" master
|
||||
#fi
|
||||
# Delete the old dir
|
||||
echo "==> Removing old directory..."
|
||||
rm -rf build/pkg
|
||||
mkdir -p build/pkg
|
||||
|
||||
|
||||
# Do a hermetic build inside a Docker container.
|
||||
docker build -t tendermint/${REPO_NAME}-builder scripts/${REPO_NAME}-builder/
|
||||
|
@@ -18,11 +18,6 @@ GIT_IMPORT="github.com/tendermint/abci/version"
|
||||
XC_ARCH=${XC_ARCH:-"386 amd64 arm"}
|
||||
XC_OS=${XC_OS:-"solaris darwin freebsd linux windows"}
|
||||
|
||||
# Delete the old dir
|
||||
echo "==> Removing old directory..."
|
||||
rm -rf build/pkg
|
||||
mkdir -p build/pkg
|
||||
|
||||
# Make sure build tools are available.
|
||||
make tools
|
||||
|
||||
|
Reference in New Issue
Block a user