github.com/hyperledger/aries-framework-go@v0.3.2/.github/workflows/version_var.sh (about)

     1  #
     2  # Copyright SecureKey Technologies Inc. All Rights Reserved.
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  
     7  # Release Parameters
     8  BASE_VERSION=0.3.0
     9  IS_RELEASE=false
    10  
    11  ARCH=$(go env GOARCH)
    12  
    13  if [ "${IS_RELEASE}" = false ]
    14  then
    15    EXTRA_VERSION=snapshot-$(git rev-parse --short=7 HEAD)
    16    PROJECT_VERSION=$BASE_VERSION-$EXTRA_VERSION
    17  else
    18    PROJECT_VERSION=$BASE_VERSION
    19  fi
    20  
    21  export IS_RELEASE
    22  export AGENT_IMAGE_TAG=$PROJECT_VERSION
    23  export NPM_PKG_TAG=$PROJECT_VERSION