Sha256: d738b6aa9b492d556ab5c8a96fc0072fa7d31bfb65bedd0f99ea752f3c6f27be
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
#!/bin/bash set -e if [ -z "$1" ]; then BRANCH="master" else BRANCH=$1 fi echo "Using $BRANCH..." echo "Checking out graphql-idl-parser" echo "---------------------" cd ext/graphql-idl-parser/graphql-idl-parser git fetch origin git checkout $BRANCH && git pull sha=`git rev-parse HEAD` cd ../../.. git add ext/graphql-idl-parser/graphql-idl-parser git commit -m "Update graphql-idl-parser to $(git config submodule.ext/graphql-idl-parser/graphql-idl-parser.url | sed s_.git\$__)/commit/${sha}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphql-idl-parser-0.1.0 | script/update_submodules |
graphql-idl-parser-0.0.1 | script/update_submodules |