UNPKG

klip-sdk

Version:

JavaScript SDK to interact with klip App2App requests

30 lines (29 loc) 700 B
name: tag_verify author: Bolt lee description: 'Prepare gx github aciton value' inputs: VERSION: description: '' required: true default: 'test' runs: using: "composite" steps: - name: check rc version shell: bash run: | set -xoe VERSION=${{ inputs.VERSION }} REF_NAME=${{ github.ref_name }} echo "VERSION:$VERSION" echo "REF_NAME:$REF_NAME" if [[ ${REF_NAME%-*} =~ "hotfix" ]]; then echo "Skipped" exit 0 fi if [ $VERSION == ${REF_NAME%-*} ]; then echo "Pushing tag and Real version match!" else echo "It's not same version." exit 1 fi