From b1e49748fb27696d0d66a8f66f04b420c36d9e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Wr=C3=B3tniak?= Date: Tue, 18 Dec 2018 09:43:18 +0100 Subject: [PATCH] Remove Bash toolkit leftovers (#50) --- README.md | 4 ++-- step.sh | 13 ------------- step.yml | 6 ------ 3 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 step.sh diff --git a/README.md b/README.md index aee69c2..371985a 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ envs: 1. Create a new git repository for your step (**don't fork** the *step template*, create a *new* repository) 2. Copy the [step template](https://github.com/bitrise-steplib/step-template) files into your repository -3. Fill the `step.sh` with your functionality +3. Fill the `main.go` with your functionality 4. Wire out your inputs to `step.yml` (`inputs` section) 5. Fill out the other parts of the `step.yml` too 6. Provide test values for the inputs in the `bitrise.yml` @@ -84,4 +84,4 @@ You can share your Step or step version with the [bitrise CLI](https://github.co ## Trigger a new release - __merge every code changes__ to the `master` branch -- __push the new version tag__ to the `master` branch \ No newline at end of file +- __push the new version tag__ to the `master` branch diff --git a/step.sh b/step.sh deleted file mode 100644 index e57745a..0000000 --- a/step.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -e -THIS_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -go_package_name="github.com/bitrise-io/steps-slack-message" -full_package_path="${THIS_SCRIPT_DIR}/go/src/${go_package_name}" -mkdir -p "${full_package_path}" - -rsync -avh --quiet "${THIS_SCRIPT_DIR}/" "${full_package_path}/" - -export GOPATH="${THIS_SCRIPT_DIR}/go" -export GO15VENDOREXPERIMENT=1 -go run "${full_package_path}/main.go" diff --git a/step.yml b/step.yml index 74b1a95..f331cac 100644 --- a/step.yml +++ b/step.yml @@ -20,12 +20,6 @@ type_tags: is_requires_admin_user: false is_always_run: true is_skippable: true -deps: - brew: - - name: go - apt_get: - - name: golang - bin_name: go toolkit: go: package_name: github.com/bitrise-io/steps-slack-message