From 5f33d9c0937f437af1f4862489c666bf230782d7 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Mon, 27 Apr 2020 16:12:04 -0400 Subject: [PATCH 01/15] add functionality for cog plugins - source .cogconfig file for plugins - replace python directory finding code with pure bash solution - change cog script search functionality to search through an array of cog paths --- .cogconfig.example | 3 +++ .gitignore | 3 ++- bin/cog | 54 +++++++++++++++++++++++++++++++++++----------- 3 files changed, 46 insertions(+), 14 deletions(-) create mode 100644 .cogconfig.example diff --git a/.cogconfig.example b/.cogconfig.example new file mode 100644 index 0000000..e1207ba --- /dev/null +++ b/.cogconfig.example @@ -0,0 +1,3 @@ +# Comma-separated list of Cog plugin directories where cog-{command} +# scripts can be found +COG_PLUGIN_DIRECTORIES= \ No newline at end of file diff --git a/.gitignore b/.gitignore index 7e583a2..f28cb46 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store .idea -/node_modules/ \ No newline at end of file +/node_modules/ +.cogconfig \ No newline at end of file diff --git a/bin/cog b/bin/cog index b58a06b..f128f78 100755 --- a/bin/cog +++ b/bin/cog @@ -1,11 +1,26 @@ -#!/bin/bash +#!/usr/bin/env bash +set -o pipefail + CMD=${1:-help} +# function to get the directory containing cog +get_script_dir () { + SOURCE="${BASH_SOURCE[0]}" + # While $SOURCE is a symlink, resolve it + while [ -h "$SOURCE" ]; do + DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" + SOURCE="$( readlink "$SOURCE" )" + # If $SOURCE was a relative symlink (so no "/" as prefix, need to resolve it relative to the symlink base directory + [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" + done + DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" + echo "$DIR" +} + # Yarn global adds the cog binary to your $PATH through a bunch of -# symlinks. `readlink -f` isn't available on Mac, so this uses -# Python to grab the fully resolved path of `cog` and then two -# `dirname`s to back out to the true installed repo directory. -DIR=$(dirname $(dirname $(python -c "import os; print(os.path.realpath('${BASH_SOURCE[0]}'))"))) +# symlinks. So this uses the get_script_dir function to find the +# directory containing the cog script and then navigates up the tree +DIR=$(dirname $(get_script_dir)) # Include all scripts inside the tools folder for file in $DIR/tools/*; do @@ -15,11 +30,24 @@ done # Drop next argument shift -# Check if /bin exist in current directory and automaticlly include the .env file -if [ -f "./bin/cog-$CMD" ]; then - # Overwrite script exist. Run this - ( set -a; source .env 2> /dev/null; "./bin/cog-$CMD" "${@}") - else - # Execute default scripts - ( set -a; source .env 2> /dev/null; "$DIR/bin/cog-$CMD" "${@}" ) -fi +# load up .cogconfig +source $DIR/.cogconfig &>/dev/null + +# split the .cogconfig variable by comma +IFS=, read -a plugin_directories <<< "$COG_PLUGIN_DIRECTORIES" + +# create an array of directories to search +# start with ./bin, then any plugin directories +# and last the cog directory +BIN_DIRECTORIES=() +BIN_DIRECTORIES+=( "./bin" ) +BIN_DIRECTORIES+=( ${plugin_directories[@]} ) +BIN_DIRECTORIES+=( "$DIR/bin" ) + +for bin_dir in "${BIN_DIRECTORIES[@]}" +do + if [ -f ${bin_dir}/cog-${CMD} ]; then + ( set -a; source .env &> /dev/null; "${bin_dir}/cog-$CMD" "${@}") + break + fi +done \ No newline at end of file From 415a64734033539ced4fedc950a21edacbf4372a Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 09:34:20 -0400 Subject: [PATCH 02/15] export COG_PATH before executing commands, handle existing .cogconfig in update --- bin/cog | 2 +- bin/cog-update | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/bin/cog b/bin/cog index f128f78..c912e3c 100755 --- a/bin/cog +++ b/bin/cog @@ -47,7 +47,7 @@ BIN_DIRECTORIES+=( "$DIR/bin" ) for bin_dir in "${BIN_DIRECTORIES[@]}" do if [ -f ${bin_dir}/cog-${CMD} ]; then - ( set -a; source .env &> /dev/null; "${bin_dir}/cog-$CMD" "${@}") + ( set -a; source .env &> /dev/null; export COG_PATH=${DIR}; "${bin_dir}/cog-$CMD" "${@}") break fi done \ No newline at end of file diff --git a/bin/cog-update b/bin/cog-update index de0dbaf..62c8b35 100755 --- a/bin/cog-update +++ b/bin/cog-update @@ -1,13 +1,21 @@ #!/bin/bash # cog update -# This command will update all the this package to the latest version. +# This command will update this package to the latest version. +cd $COG_PATH + for file in ./tools/*; do source $file done echo -e "πŸ’» Updating $(name)@$(version)..." -yarn global remove hc-cog -yarn global add hc-cog@latest +# store the contents and path of .cogconfig +cog_config=$(<$COG_PATH/.cogconfig) + +#yarn global remove hc-cog +#yarn global add hc-cog@latest + +echo "$cog_config" >> "$COG_PATH/.cogconfig" + From 556ada46e94bd36e312f18cb103569e151dea4ef Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 10:05:56 -0400 Subject: [PATCH 03/15] cogconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - move path of cogconfig to home dir so it doesn’t get lost during updates - add cog config command to create .cogconfig file --- bin/cog | 2 +- bin/cog-config | 12 ++++++++++++ bin/cog-update | 10 ++-------- 3 files changed, 15 insertions(+), 9 deletions(-) create mode 100755 bin/cog-config diff --git a/bin/cog b/bin/cog index c912e3c..3731f21 100755 --- a/bin/cog +++ b/bin/cog @@ -31,7 +31,7 @@ done shift # load up .cogconfig -source $DIR/.cogconfig &>/dev/null +source ~/.cogconfig &>/dev/null # split the .cogconfig variable by comma IFS=, read -a plugin_directories <<< "$COG_PLUGIN_DIRECTORIES" diff --git a/bin/cog-config b/bin/cog-config new file mode 100755 index 0000000..98b0ed4 --- /dev/null +++ b/bin/cog-config @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +echo "Create .cogconfig" + +if [[ ! -f ~/.cogconfig ]]; then + cp $COG_PATH/.cogconfig.example ~/.cogconfig +else + echo ".cogconfig already exists in home directory" +fi + +echo "Find your .cogconfig at: $HOME/.cogconfig" \ No newline at end of file diff --git a/bin/cog-update b/bin/cog-update index 62c8b35..31eded6 100755 --- a/bin/cog-update +++ b/bin/cog-update @@ -10,12 +10,6 @@ done echo -e "πŸ’» Updating $(name)@$(version)..." -# store the contents and path of .cogconfig -cog_config=$(<$COG_PATH/.cogconfig) - -#yarn global remove hc-cog -#yarn global add hc-cog@latest - -echo "$cog_config" >> "$COG_PATH/.cogconfig" - +yarn global remove hc-cog +yarn global add hc-cog@latest From 94b9ed9db39f7bf5985ae6ef391c2f5802ad33a5 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 10:13:47 -0400 Subject: [PATCH 04/15] clean up cog-config --- bin/cog-config | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/cog-config b/bin/cog-config index 98b0ed4..ee4ad6c 100755 --- a/bin/cog-config +++ b/bin/cog-config @@ -1,12 +1,13 @@ #!/usr/bin/env bash set -euo pipefail -echo "Create .cogconfig" +echo "βš™οΈ Create .cogconfig" if [[ ! -f ~/.cogconfig ]]; then cp $COG_PATH/.cogconfig.example ~/.cogconfig else - echo ".cogconfig already exists in home directory" + echo "Oops .cogconfig already exists in home directory!" fi -echo "Find your .cogconfig at: $HOME/.cogconfig" \ No newline at end of file +echo "" +echo "Find your .cogconfig at πŸ‘‰ $HOME/.cogconfig" \ No newline at end of file From ce2805dd9567663137ab9857fd2738ecd7f1643b Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 10:22:43 -0400 Subject: [PATCH 05/15] update readme with info about plugins --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4200f04..3806c79 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,17 @@ Whenever you create, delete, or modify a script, you must update `bin/cog-help`. ## Usage Running `cog` on the command line will list all of the available scripts and a short description. Any new script you make will overwrite the global defaults. You can run `cog make:script dev` and create a custom bash script based on that specific project +## Plugins +You can add plugins to `cog` through the .cogconfig file. A plugin consists of a directory of `cog-` commands, which can exist anywhere within your file system. + +Run `cog config` to create the `.cogconfig` file in your home directory. + +You can then edit the `COG_PLUGIN_DIRECTORIES=` variable with a comma-separated list of paths where your `cog-` scripts are stored. + ## Update -Run `cog update` to receive the latest version. To update this package, run `yarn version {patch, minor, major}` followed by `yarn publish` +Run `cog update` to receive the latest version. + +To update this package, run `yarn version {patch, minor, major}` followed by `yarn publish` ## Builds If you're using `Go` to write any commands, put your source `.go` file into the `src` directory and run this command to build it into a binary in the `bin` directory: From 866d6b2266f616533a9f91587617be10702e86ff Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 11:19:55 -0400 Subject: [PATCH 06/15] various updates - consolidate exports in cog main file - extend cog-help to search plugin directories - clean up cog-config --- bin/cog | 18 +++++++++++++++++- bin/cog-config | 2 +- bin/cog-help | 27 ++++++++++++++++++++------- 3 files changed, 38 insertions(+), 9 deletions(-) diff --git a/bin/cog b/bin/cog index 3731f21..cbc8b70 100755 --- a/bin/cog +++ b/bin/cog @@ -3,6 +3,7 @@ set -o pipefail CMD=${1:-help} + # function to get the directory containing cog get_script_dir () { SOURCE="${BASH_SOURCE[0]}" @@ -44,10 +45,25 @@ BIN_DIRECTORIES+=( "./bin" ) BIN_DIRECTORIES+=( ${plugin_directories[@]} ) BIN_DIRECTORIES+=( "$DIR/bin" ) +# Export Variables for use in cog commands later + +# Colors +export RED='\033[0;91m' +export GREEN='\033[0;32m' +export YELLOW='\033[0;33m' +export BLUE='\033[0;34m' +export MAGENTA='\033[0;35m' +export BOLD='\033[0;22m' +export NC='\033[0m' # No Color + +# Cog paths +export COG_PLUGIN_DIRECTORIES=${COG_PLUGIN_DIRECTORIES} +export COG_PATH=${DIR} + for bin_dir in "${BIN_DIRECTORIES[@]}" do if [ -f ${bin_dir}/cog-${CMD} ]; then - ( set -a; source .env &> /dev/null; export COG_PATH=${DIR}; "${bin_dir}/cog-$CMD" "${@}") + ( set -a; source .env &> /dev/null; "${bin_dir}/cog-$CMD" "${@}") break fi done \ No newline at end of file diff --git a/bin/cog-config b/bin/cog-config index ee4ad6c..ba6010a 100755 --- a/bin/cog-config +++ b/bin/cog-config @@ -10,4 +10,4 @@ else fi echo "" -echo "Find your .cogconfig at πŸ‘‰ $HOME/.cogconfig" \ No newline at end of file +echo -e "Find your ${GREEN}.cogconfig${NC} at πŸ‘‰ ${MAGENTA}$HOME/.cogconfig${NC}" \ No newline at end of file diff --git a/bin/cog-help b/bin/cog-help index cf1c67c..d4cc588 100755 --- a/bin/cog-help +++ b/bin/cog-help @@ -4,11 +4,11 @@ tabs 4 # Color Format -GREEN='\033[0;32m' -YELLOW='\033[0;33m' -BLUE='\033[0;34m' -BOLD='\033[0;22m' -NC='\033[0m' # No Color +#GREEN='\033[0;32m' +#YELLOW='\033[0;33m' +#BLUE='\033[0;34m' +#BOLD='\033[0;22m' +#NC='\033[0m' # No Color # Default help screen echo ' @@ -20,7 +20,8 @@ echo ' MMMMMMMMMMN MMMMMMMMMMN MMMMMMMMMMMMMMM MMMMMMMMMMMMMMM ' - +echo -e "${MAGENTA}Built-in Commands${NC}" +echo "" echo -e "${YELLOW}Usage:${NC}" echo -e "\tcommand [options] [arguments]" echo "" @@ -40,6 +41,8 @@ echo -e "\t${GREEN}git-backup${NC} Git clone a remote repository to a local echo "" echo -e "\t${GREEN}compile${NC} Run the default preprocessor task (gulp compile, grunt compile, etc.)." echo "" +echo -e "\t${GREEN}config${NC} Create the ~/.cogconfig file if it does not exists." +echo "" echo -e "\t${GREEN}convert${NC} Converts any .mov and .mp4 files into .gif" echo "" echo -e "\t${GREEN}watch${NC} Run the default preprocessor watch task (gulp watch, grunt watch, etc.)." @@ -50,7 +53,17 @@ echo -e "\t${GREEN}update${NC} Create git tags [${BLUE} major | minor | echo "" echo -e "\t${GREEN}ssl-check${NC} Outputs info and runs some validity checks on a domain's SSL certificate" echo "" -echo "Visit https://github.com/happycog/cog/ to learn more about cog." +#echo "Visit https://github.com/happycog/cog/ to learn more about cog." #TODO #Add abilty to search local bin for new commands + +# split the plugin directories variable by comma +IFS=, read -a plugin_directories <<< "$COG_PLUGIN_DIRECTORIES" + +for bin_dir in "${plugin_directories[@]}" +do + if [ -f ${bin_dir}/.cog-help ]; then + ( set -a; source .env &> /dev/null; "${bin_dir}/.cog-help" "${@}") + fi +done \ No newline at end of file From 2c2d396052184032314f969347bb3c322c48d94e Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 11:21:45 -0400 Subject: [PATCH 07/15] extend cog-help to read from local project bin too --- bin/cog-help | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/cog-help b/bin/cog-help index d4cc588..ba96262 100755 --- a/bin/cog-help +++ b/bin/cog-help @@ -61,9 +61,15 @@ echo "" # split the plugin directories variable by comma IFS=, read -a plugin_directories <<< "$COG_PLUGIN_DIRECTORIES" +# run plugin directory help commands for bin_dir in "${plugin_directories[@]}" do if [ -f ${bin_dir}/.cog-help ]; then ( set -a; source .env &> /dev/null; "${bin_dir}/.cog-help" "${@}") fi -done \ No newline at end of file +done + +# run local help command +if [ -f ./bin/.cog-help ]; then + ( set -a; source .env &> /dev/null; "./bin/.cog-help" "${@}") +fi \ No newline at end of file From c0faaf49d3522d50f29900af2d0a8ebc89ff6a6f Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 11:23:56 -0400 Subject: [PATCH 08/15] correct permissions on myip and ssl-check --- bin/cog-myip | 0 bin/cog-ssl-check | Bin 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 bin/cog-myip mode change 100644 => 100755 bin/cog-ssl-check diff --git a/bin/cog-myip b/bin/cog-myip old mode 100644 new mode 100755 diff --git a/bin/cog-ssl-check b/bin/cog-ssl-check old mode 100644 new mode 100755 From 0db783a9e713957f8d155429bdfcecbcafcf2036 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 11:24:58 -0400 Subject: [PATCH 09/15] =?UTF-8?q?remove=20todo=20from=20help=20since=20it?= =?UTF-8?q?=E2=80=99s=20done?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/cog-help | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/cog-help b/bin/cog-help index ba96262..6c0cfd3 100755 --- a/bin/cog-help +++ b/bin/cog-help @@ -55,9 +55,6 @@ echo -e "\t${GREEN}ssl-check${NC} Outputs info and runs some validity check echo "" #echo "Visit https://github.com/happycog/cog/ to learn more about cog." -#TODO -#Add abilty to search local bin for new commands - # split the plugin directories variable by comma IFS=, read -a plugin_directories <<< "$COG_PLUGIN_DIRECTORIES" From 121460a1b68e16d7526fc1657916e851d7aeb593 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 28 Apr 2020 13:25:30 -0400 Subject: [PATCH 10/15] add jeremy to package json --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 381f0bd..2a5e6a8 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,10 @@ { "name": "Matt Weinberg", "url": "https://github.com/mrw" + }, + { + "name": "Jeremy Gimbel", + "url": "https://github.com/dreadfullyposh" } ], "homepage": "https://github.com/happycog/cog#readme", From e896c72ab8b83a4cff149eda0591aa56ccb19738 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Wed, 29 Apr 2020 12:22:15 -0400 Subject: [PATCH 11/15] update banner to be a little more like the new hc brand --- bin/cog-help | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/bin/cog-help b/bin/cog-help index 6c0cfd3..4c43195 100755 --- a/bin/cog-help +++ b/bin/cog-help @@ -11,15 +11,20 @@ tabs 4 #NC='\033[0m' # No Color # Default help screen -echo ' - MMMMMMMMMMMMMMM MMMMMMMMMMMMMMM - MMMMMMMMMMN MMMMMMMMMMN - NMMMMMMMM MMMMMMMMMMMMMM - NMMMMMMMM MMMMMMMMMMMMMMMM - NMMMMMMMM MMMMMMMMMMMMMM - MMMMMMMMMMN MMMMMMMMMMN - MMMMMMMMMMMMMMM MMMMMMMMMMMMMMM -' +echo -e "${YELLOW} +7MMF 7MMF .g8'''bgd + MM MM .dP' 'M + MM MM ,6'Yb. '7MMpdMAo.'7MMpdMAo.'7M' 'MF' dM' ,pW'Wq. .P'Ybm + MMmmmmmmMM 8) MM MM 'Wb MM 'Wb VA ,V MM 6' 'Wb MI I8 + MM MM ,pm9MM MM M8 MM M8 VA ,V MM. 8M M8 WmmmP' + MM MM 8M MM MM ,AP MM ,AP VVV 'Mb. , YA. ,A9 M +JMML JMML 'Moo9^Yo. MMbmmd' MMbmmd' ,V ''bmmmd' 'Ybmd9' YMMMMM + MM MM ,V 6' d + JMML JMML OOb Ybmmd' +${NC}" + +echo "Cog is a bash script that helps automate the development workflow" +echo "" echo -e "${MAGENTA}Built-in Commands${NC}" echo "" echo -e "${YELLOW}Usage:${NC}" From 5fa8bcbaa46347748575142d89704d7194e36fb5 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Wed, 29 Apr 2020 12:28:43 -0400 Subject: [PATCH 12/15] clean up help --- bin/cog-help | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/cog-help b/bin/cog-help index 4c43195..1628498 100755 --- a/bin/cog-help +++ b/bin/cog-help @@ -25,12 +25,11 @@ ${NC}" echo "Cog is a bash script that helps automate the development workflow" echo "" -echo -e "${MAGENTA}Built-in Commands${NC}" -echo "" echo -e "${YELLOW}Usage:${NC}" echo -e "\tcommand [options] [arguments]" echo "" -echo -e "${YELLOW}Available commands:${NC}" +echo -e "βš™οΈ ${MAGENTA}Built-in Commands:${NC}" +echo "" echo -e "\t${GREEN}go${NC} Run the project at localhost:${WEBSERVER_PORT:-8000}." echo -e "\t ${BLUE}-h, --host${NC} " echo -e "\t ${BLUE}-p, --port${NC} " From a802303d6c8718a1211aabe327d98418a5713104 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 5 May 2020 13:13:16 -0400 Subject: [PATCH 13/15] cleanup banner, move colors to tools --- bin/cog | 9 --------- bin/cog-help | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/bin/cog b/bin/cog index cbc8b70..71244f9 100755 --- a/bin/cog +++ b/bin/cog @@ -47,15 +47,6 @@ BIN_DIRECTORIES+=( "$DIR/bin" ) # Export Variables for use in cog commands later -# Colors -export RED='\033[0;91m' -export GREEN='\033[0;32m' -export YELLOW='\033[0;33m' -export BLUE='\033[0;34m' -export MAGENTA='\033[0;35m' -export BOLD='\033[0;22m' -export NC='\033[0m' # No Color - # Cog paths export COG_PLUGIN_DIRECTORIES=${COG_PLUGIN_DIRECTORIES} export COG_PATH=${DIR} diff --git a/bin/cog-help b/bin/cog-help index 1628498..56dcf6c 100755 --- a/bin/cog-help +++ b/bin/cog-help @@ -19,8 +19,8 @@ echo -e "${YELLOW} MM MM ,pm9MM MM M8 MM M8 VA ,V MM. 8M M8 WmmmP' MM MM 8M MM MM ,AP MM ,AP VVV 'Mb. , YA. ,A9 M JMML JMML 'Moo9^Yo. MMbmmd' MMbmmd' ,V ''bmmmd' 'Ybmd9' YMMMMM - MM MM ,V 6' d - JMML JMML OOb Ybmmd' + MM MM ,V 6' d + JMML JMML OOb Ybmmd' ${NC}" echo "Cog is a bash script that helps automate the development workflow" From 6efcfe035423ae38075d2beb44743634ac952823 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 5 May 2020 13:13:24 -0400 Subject: [PATCH 14/15] add colors.sh --- tools/colors.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/colors.sh diff --git a/tools/colors.sh b/tools/colors.sh new file mode 100644 index 0000000..1ba92bd --- /dev/null +++ b/tools/colors.sh @@ -0,0 +1,8 @@ +# Colors +export RED='\033[0;91m' +export GREEN='\033[0;32m' +export YELLOW='\033[0;33m' +export BLUE='\033[0;34m' +export MAGENTA='\033[0;35m' +export BOLD='\033[0;22m' +export NC='\033[0m' # No Color \ No newline at end of file From 8eb8a4888bcbfb0332f3a9334d9d84100f1de012 Mon Sep 17 00:00:00 2001 From: Jeremy Gimbel Date: Tue, 5 May 2020 13:41:33 -0400 Subject: [PATCH 15/15] version bump to 0.8 for release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2a5e6a8..30f6ab5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hc-cog", - "version": "0.7.6", + "version": "0.8", "description": "Happy Cog bash script that helps automate the development workflow", "main": "index.js", "scripts": {