Skip to content

Commit

Permalink
updated repo to tgswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Feb 6, 2019
1 parent 80e5a87 commit c76ba2a
Show file tree
Hide file tree
Showing 25 changed files with 83 additions and 83 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
docker:
- image: circleci/golang:1.10

working_directory: /go/src/github.com/warrensbox/terragrunt-switcher
working_directory: /go/src/github.com/warrensbox/tgswitch

steps:
- checkout
Expand All @@ -24,7 +24,7 @@ jobs:
docker:
- image: circleci/golang:1.11

working_directory: /go/src/github.com/warrensbox/terragrunt-switcher
working_directory: /go/src/github.com/warrensbox/tgswitch

steps:
- checkout
Expand Down
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ builds:
- ldflags:
- -X main.version={{.Env.RELEASE_VERSION}} -X main.CLIENT_ID={{.Env.CLIENT_ID}} -X main.CLIENT_SECRET={{.Env.CLIENT_SECRET}}
- main: main.go
binary: tgswitch
binary: terraform-switcher
goos:
- windows
- darwin
Expand All @@ -22,7 +22,7 @@ changelog:
brew:
# Name of the recipe
# Default to project name
name: terragrunt-switcher
name: tgswitch

# Reporitory to push the tap to.
github:
Expand All @@ -49,7 +49,7 @@ brew:

# Your app's homepage.
# Default is empty.
homepage: "https://warrensbox.github.io/terragrunt-switcher"
homepage: "https://warrensbox.github.io/tgswitch"

# Your app's description.
# Default is empty.
Expand All @@ -68,19 +68,19 @@ brew:
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/terragrunt-switcher --version"
system "#{bin}/tgswitch --version"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "terragrunt-switcher"
bin.install "tgswitch"
# .goreleaser.yml
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL.
github:
owner: warrensbox
name: terragrunt-switcher
name: tgswitch

# If set to true, will not auto-publish the release.
# Default is false.
Expand Down
2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
version = "0.3.0"

[[constraint]]
name = "github.com/warrensbox/terragrunt-switcher"
name = "github.com/warrensbox/tgswitch"
version = "0.4.552"

[prune]
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
EXE := tgswitch
PKG := github.com/warrensbox/terragrunt-switcher
VER := $(shell git ls-remote --tags git://github.com/warrensbox/terragrunt-switcher | awk '{print $$2}'| awk -F"/" '{print $$3}' | sort -n -t. -k1,1 -k2,2 -k3,3 | tail -n 1)
PKG := github.com/warrensbox/tgswitch
VER := $(shell git ls-remote --tags git://github.com/warrensbox/tgswitch | awk '{print $$2}'| awk -F"/" '{print $$3}' | sort -n -t. -k1,1 -k2,2 -k3,3 | tail -n 1)
PATH := build:$(PATH)
GOOS ?= $(shell go env GOOS)
GOARCH ?= $(shell go env GOARCH)
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/warrensbox/terragrunt-switcher.svg?branch=master)](https://travis-ci.org/warrensbox/terragrunt-switcher)
[![Go Report Card](https://goreportcard.com/badge/github.com/warrensbox/terragrunt-switcher)](https://goreportcard.com/report/github.com/warrensbox/terragrunt-switcher)
[![CircleCI](https://circleci.com/gh/warrensbox/terragrunt-switcher/tree/master.svg?style=shield&circle-token=d74b0de145c45b1d0da97f817363c77350e1a121)](https://circleci.com/gh/warrensbox/terragrunt-switcher)
[![Build Status](https://travis-ci.org/warrensbox/tgswitch.svg?branch=master)](https://travis-ci.org/warrensbox/tgswitch)
[![Go Report Card](https://goreportcard.com/badge/github.com/warrensbox/tgswitch)](https://goreportcard.com/report/github.com/warrensbox/tgswitch)
[![CircleCI](https://circleci.com/gh/warrensbox/tgswitch/tree/master.svg?style=shield&circle-token=d74b0de145c45b1d0da97f817363c77350e1a121)](https://circleci.com/gh/warrensbox/tgswitch)

# Terragrunt Switcher

Expand All @@ -13,7 +13,7 @@ The installation is minimal and easy.
Once installed, simply select the version you require from the dropdown and start using terragrunt.


See installation guide here: [tgswitch installation](https://warrensbox.github.io/terragrunt-switcher/)
See installation guide here: [tgswitch installation](https://warrensbox.github.io/tgswitch/)

## Installation

Expand All @@ -33,12 +33,12 @@ brew install warrensbox/tap/tgswitch
Installation for other linux operation systems.

```sh
curl -L https://raw.githubusercontent.com/warrensbox/terragrunt-switcher/release/install.sh | bash
curl -L https://raw.githubusercontent.com/warrensbox/tgswitch/release/install.sh | bash
```

### Install from source

Alternatively, you can install the binary from source [here](https://github.com/warrensbox/terragrunt-switcher/releases)
Alternatively, you can install the binary from source [here](https://github.com/warrensbox/tgswitch/releases)

## How to use:
### Use dropdown menu to select version
Expand All @@ -59,9 +59,9 @@ The most recently selected versions are presented at the top of the dropdown.

## Additional Info

See how to *upgrade*, *uninstall*, *troubleshoot* here:[More info](https://warrensbox.github.io/terragrunt-switcher/additional)
See how to *upgrade*, *uninstall*, *troubleshoot* here:[More info](https://warrensbox.github.io/tgswitch/additional)


## Issues

Please open *issues* here: [New Issue](https://github.com/warrensbox/terragrunt-switcher/issues)
Please open *issues* here: [New Issue](https://github.com/warrensbox/tgswitch/issues)
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
theme: jekyll-theme-minimal
#github: [metadata]
repository: warrensbox/terragrunt-switcher
repository: warrensbox/tgswitch
logo: /assets/img/logo.png
title: tgswitch

Expand Down
10 changes: 5 additions & 5 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@

<p style="text-align: center">{{ site.description | default: site.github.project_tagline }}</p>
<!-- <p>Written in go</p> -->
<img src="https://travis-ci.org/warrensbox/terragrunt-switcher.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/terragrunt-switcher" alt="Go Report" />
<img src="https://travis-ci.org/warrensbox/tgswitch.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/tgswitch" alt="Go Report" />

<hr style="margin-top: 20px;">

{% if site.show_downloads %}
<ul>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/{{ site.github.releases[0].tag_name }}/terragrunt-switcher_{{ site.github.releases[0].tag_name }}_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/{{ site.github.releases[0].tag_name }}/terragrunt-switcher_{{ site.github.releases[0].tag_name }}_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases">Releases On <strong>GitHub</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/{{ site.github.releases[0].tag_name }}/tgswitch_{{ site.github.releases[0].tag_name }}_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/{{ site.github.releases[0].tag_name }}/tgswitch_{{ site.github.releases[0].tag_name }}_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases">Releases On <strong>GitHub</strong></a></li>
</ul>
{% endif %}
</header>
Expand Down
18 changes: 9 additions & 9 deletions docs/_site/additional.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{"description":"Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt","@type":"WebPage","url":"/additional.html","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/assets/img/logo.png"}},"headline":"tgswitch","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->

<link rel="stylesheet" href="/assets/css/style.css?v=6c8ec10f61d1330e23c827c40ae8f9c82ff651d6">
<link rel="stylesheet" href="/assets/css/style.css?v=80e5a874c168b4f5d0228db1ab74db2b6193441a">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
Expand All @@ -50,16 +50,16 @@

<p style="text-align: center">Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt</p>
<!-- <p>Written in go</p> -->
<img src="https://travis-ci.org/warrensbox/terragrunt-switcher.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/terragrunt-switcher" alt="Go Report" />
<img src="https://travis-ci.org/warrensbox/tgswitch.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/tgswitch" alt="Go Report" />

<hr style="margin-top: 20px;">


<ul>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/0.2.178/terragrunt-switcher_0.2.178_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/0.2.178/terragrunt-switcher_0.2.178_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases">Releases On <strong>GitHub</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/0.2.276/tgswitch_0.2.276_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/0.2.276/tgswitch_0.2.276_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases">Releases On <strong>GitHub</strong></a></li>
</ul>

</header>
Expand All @@ -78,7 +78,7 @@ <h3 id="linux">Linux</h3>

<p>Rerun:</p>

<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-L</span> https://raw.githubusercontent.com/warrensbox/terragrunt-switcher/release/install.sh | bash
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-L</span> https://raw.githubusercontent.com/warrensbox/tgswitch/release/install.sh | bash
</code></pre></div></div>

<h2 id="uninstall">Uninstall:</h2>
Expand Down Expand Up @@ -111,12 +111,12 @@ <h2 id="troubleshoot">Troubleshoot:</h2>
<a href="index">Back to main</a></p>


<p><small>This project is maintained by <a href="http://github.com/warrensbox/terragrunt-switcher">warrensbox</a></small></p>
<p><small>This project is maintained by <a href="http://github.com/warrensbox/tgswitch">warrensbox</a></small></p>

</section>
<footer>
<!-- <p><small>View other products &mdash; by <a href="http://warren.veerasingam.com/#about_me" target="_blank">Warren Veerasingam</a></small></p> -->
<!-- <p><small>VERSION: 0.2.178. This project is maintained by <a href="http://github.com/warrensbox">warrensbox</a></small></p> -->
<!-- <p><small>VERSION: 0.2.276. This project is maintained by <a href="http://github.com/warrensbox">warrensbox</a></small></p> -->
</footer>
</div>
<script src="/assets/js/scale.fix.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_site/additional.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ brew upgrade warrensbox/tap/tgswitch
Rerun:

```sh
curl -L https://raw.githubusercontent.com/warrensbox/terragrunt-switcher/release/install.sh | bash
curl -L https://raw.githubusercontent.com/warrensbox/tgswitch/release/install.sh | bash
```

## Uninstall:
Expand Down
16 changes: 8 additions & 8 deletions docs/_site/docs/additional.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{"description":"Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt","@type":"WebPage","url":"/docs/additional.html","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/assets/img/logo.png"}},"headline":"tgswitch","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->

<link rel="stylesheet" href="/assets/css/style.css?v=6c8ec10f61d1330e23c827c40ae8f9c82ff651d6">
<link rel="stylesheet" href="/assets/css/style.css?v=80e5a874c168b4f5d0228db1ab74db2b6193441a">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
Expand All @@ -50,16 +50,16 @@

<p style="text-align: center">Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt</p>
<!-- <p>Written in go</p> -->
<img src="https://travis-ci.org/warrensbox/terragrunt-switcher.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/terragrunt-switcher" alt="Go Report" />
<img src="https://travis-ci.org/warrensbox/tgswitch.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/tgswitch" alt="Go Report" />

<hr style="margin-top: 20px;">


<ul>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/0.2.178/terragrunt-switcher_0.2.178_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/0.2.178/terragrunt-switcher_0.2.178_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases">Releases On <strong>GitHub</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/0.2.276/tgswitch_0.2.276_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/0.2.276/tgswitch_0.2.276_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases">Releases On <strong>GitHub</strong></a></li>
</ul>

</header>
Expand Down Expand Up @@ -111,12 +111,12 @@ <h2 id="troubleshoot">Troubleshoot:</h2>
<a href="index">Back to main</a></p>


<p><small>This project is maintained by <a href="http://github.com/warrensbox/terragrunt-switcher">warrensbox</a></small></p>
<p><small>This project is maintained by <a href="http://github.com/warrensbox/tgswitch">warrensbox</a></small></p>

</section>
<footer>
<!-- <p><small>View other products &mdash; by <a href="http://warren.veerasingam.com/#about_me" target="_blank">Warren Veerasingam</a></small></p> -->
<!-- <p><small>VERSION: 0.2.178. This project is maintained by <a href="http://github.com/warrensbox">warrensbox</a></small></p> -->
<!-- <p><small>VERSION: 0.2.276. This project is maintained by <a href="http://github.com/warrensbox">warrensbox</a></small></p> -->
</footer>
</div>
<script src="/assets/js/scale.fix.js"></script>
Expand Down
16 changes: 8 additions & 8 deletions docs/_site/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{"description":"Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt","@type":"WebPage","url":"/docs/","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/assets/img/logo.png"}},"headline":"Terraform Switcher","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->

<link rel="stylesheet" href="/assets/css/style.css?v=6c8ec10f61d1330e23c827c40ae8f9c82ff651d6">
<link rel="stylesheet" href="/assets/css/style.css?v=80e5a874c168b4f5d0228db1ab74db2b6193441a">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
Expand All @@ -50,16 +50,16 @@

<p style="text-align: center">Manage terragrunt versions - the tgshift command line tool lets you switch between different versions of terragrunt</p>
<!-- <p>Written in go</p> -->
<img src="https://travis-ci.org/warrensbox/terragrunt-switcher.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/terragrunt-switcher" alt="Go Report" />
<img src="https://travis-ci.org/warrensbox/tgswitch.svg?branch=master" alt="Travis" />
<img src="https://goreportcard.com/badge/github.com/warrensbox/tgswitch" alt="Go Report" />

<hr style="margin-top: 20px;">


<ul>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/0.2.178/terragrunt-switcher_0.2.178_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases/download/0.2.178/terragrunt-switcher_0.2.178_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/terragrunt-switcher/releases">Releases On <strong>GitHub</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/0.2.276/tgswitch_0.2.276_darwin_amd64.tar.gz">Download <strong>MacOS</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases/download/0.2.276/tgswitch_0.2.276_linux_amd64.tar.gz">Download <strong>Linux</strong></a></li>
<li><a href="https://github.com/warrensbox/tgswitch/releases">Releases On <strong>GitHub</strong></a></li>
</ul>

</header>
Expand Down Expand Up @@ -131,12 +131,12 @@ <h2 id="issues">Issues</h2>
<a href="additional">Additional Info</a></p>


<p><small>This project is maintained by <a href="http://github.com/warrensbox/terragrunt-switcher">warrensbox</a></small></p>
<p><small>This project is maintained by <a href="http://github.com/warrensbox/tgswitch">warrensbox</a></small></p>

</section>
<footer>
<!-- <p><small>View other products &mdash; by <a href="http://warren.veerasingam.com/#about_me" target="_blank">Warren Veerasingam</a></small></p> -->
<!-- <p><small>VERSION: 0.2.178. This project is maintained by <a href="http://github.com/warrensbox">warrensbox</a></small></p> -->
<!-- <p><small>VERSION: 0.2.276. This project is maintained by <a href="http://github.com/warrensbox">warrensbox</a></small></p> -->
</footer>
</div>
<script src="/assets/js/scale.fix.js"></script>
Expand Down
Loading

0 comments on commit c76ba2a

Please sign in to comment.