github.com/pvitto98/fabric@v2.1.1+incompatible/ci/scripts/create_binary_package.sh (about)

     1  #!/bin/bash
     2  # Copyright IBM Corp. All Rights Reserved.
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  set -euo pipefail
     6  
     7  make "release/${TARGET}"
     8  mkdir "release/${TARGET}/config"
     9  mv sampleconfig/*yaml "release/${TARGET}/config"
    10  cd "release/${TARGET}"
    11  tar -czvf "hyperledger-fabric-${TARGET}-${RELEASE}.tar.gz" bin config