Sha256: 09b83f7a877c3c236a3ef14ea938a21e35594dfc9e822ef05dc1cb43c2d56cb5

Contents?: true

Size: 521 Bytes

Versions: 104

Compression:

Stored size: 521 Bytes

Contents

#!/bin/sh

# oldrev, newrev, refname are a feature of the way in which Git executes the pre-receive hook.
# See https://www.kernel.org/pub/software/scm/git/docs/githooks.html
while read oldrev newrev refname; do
	if [ $(git rev-parse --is-bare-repository) = true ]; then
	    REPOSITORY_BASENAME=$(basename "$PWD")
		REPOSITORY_BASENAME=${REPOSITORY_BASENAME%.git}
	else
	    REPOSITORY_BASENAME=$(basename $(readlink -nf "$PWD"/..))
	fi
	runner prereceive $REPOSITORY_BASENAME $REMOTE_USER $oldrev $newrev $refname
done

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
smartcloud-0.0.94 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.93 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.92 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.91 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.90 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.89 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.88 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.87 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.86 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.85 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.84 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.83 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.82 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.81 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.80 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.79 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.78 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.77 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.76 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
smartcloud-0.0.75 lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive