Skip to content
This repository was archived by the owner on Apr 14, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
set -e
set +o pipefail

# LOAD OUR FUNCTIONS
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
. ${DIR}/functions.sh

# Start work
for variable in $(getAllStepVars)
do
if [ "${!variable}" == "false" ]; then
Expand All @@ -15,10 +20,6 @@ if [ -n "$WERCKER_GIT_PUSH_GH_TOKEN" ]; then
fail "Your gh_token may be compromised. Please check https://github.com/leipert/step-git-push for more info"
fi

# LOAD OUR FUNCTIONS
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
. ${DIR}/functions.sh

repo=$(getRepoPath)

info "using github repo \"$repo\""
Expand Down
1 change: 1 addition & 0 deletions tests/integration.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
set +e
set -x

function info {
echo INFO: $@
Expand Down
1 change: 1 addition & 0 deletions tests/unit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
set +e
set -x

failed=false
throwError=false
Expand Down
2 changes: 1 addition & 1 deletion wercker-step.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: git-push
version: 0.7.7
version: 0.7.8
description: Deploy to a git branch in a given Repo
keywords:
- github
Expand Down