github.com/verrazzano/verrazzano@v1.7.0/release/scripts/common-release.sh (about)

     1  #!/usr/bin/env bash
     2  #
     3  # Copyright (c) 2022, Oracle and/or its affiliates.
     4  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     5  #
     6  # Common script used to automate the release process.
     7  
     8  SCRIPT_DIR=$(cd $(dirname "$0"); pwd -P)
     9  
    10  if [ -z "$RELEASE_VERSION" ]; then
    11    echo "This script expects environment variable RELEASE_VERSION"
    12    exit 1
    13  fi
    14  
    15  # Release artifacts
    16  declare -a releaseArtifacts=("verrazzano-platform-operator.yaml"
    17                               "verrazzano-platform-operator.yaml.sha256"
    18                               "verrazzano-${RELEASE_VERSION}-darwin-amd64.tar.gz"
    19                               "verrazzano-${RELEASE_VERSION}-darwin-amd64.tar.gz.sha256"
    20                               "verrazzano-${RELEASE_VERSION}-darwin-arm64.tar.gz"
    21                               "verrazzano-${RELEASE_VERSION}-darwin-arm64.tar.gz.sha256"
    22                               "verrazzano-${RELEASE_VERSION}-linux-amd64.tar.gz"
    23                               "verrazzano-${RELEASE_VERSION}-linux-amd64.tar.gz.sha256"
    24                               "verrazzano-${RELEASE_VERSION}-linux-arm64.tar.gz"
    25                               "verrazzano-${RELEASE_VERSION}-linux-arm64.tar.gz.sha256")