Skip to content

Commit

Permalink
chore: port to ArcadiaPower org
Browse files Browse the repository at this point in the history
  • Loading branch information
joepurdy committed Nov 7, 2022
1 parent 7a8343d commit a4186ca
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.1'
go-version: '>=1.19.3'
cache: true
- uses: goreleaser/goreleaser-action@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ builds:
-w
-s
-extldflags '-static'
-X github.com/joepurdy/awswitch/main.version={{.Version}}
-X github.com/ArcadiaPower/awswitch/main.version={{.Version}}

- id: darwin-build
binary: awswitch
Expand Down Expand Up @@ -46,14 +46,14 @@ brews:
goamd64: v3

tap:
owner: joepurdy
owner: ArcadiaPower
name: homebrew-tap

commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"

caveats: "To install shell completion add the following line to your #{shell_profile}:\n\tBASH:\n\teval \"$(awswitch --completion-script-bash)\"\n\tZSH:\n\teval \"$(awswitch --completion-script-zsh)\"\n\nRestart your terminal for the settings to take effect."

homepage: "https://github.com/joepurdy/awswitch/"
homepage: "https://github.com/ArcadiaPower/awswitch/"

description: "A helper utility for switching AWS profiles in subshells."

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Joe Purdy
Copyright (c) 2022 Arcadia Power

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# awswitch

![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/joepurdy/awswitch?style=for-the-badge)![GitHub release (latest by date)](https://img.shields.io/github/v/release/joepurdy/awswitch?style=for-the-badge)![GitHub](https://img.shields.io/github/license/joepurdy/awswitch?style=for-the-badge)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/ArcadiaPower/awswitch?style=for-the-badge)![GitHub release (latest by date)](https://img.shields.io/github/v/release/ArcadiaPower/awswitch?style=for-the-badge)![GitHub](https://img.shields.io/github/license/ArcadiaPower/awswitch?style=for-the-badge)

awswitch is an opinionated CLI that minimally emulates the behavior of the `aws-vault exec` command to run ad-hoc commands or switch to a subshell of a specific AWS profiles on the fly.

Expand All @@ -16,14 +16,14 @@ This is a Go CLI and as such can be installed the standard Go way if you have a

Install with `go install`
```bash
go install github.com/joepurdy/awswitch@latest
go install github.com/ArcadiaPower/awswitch@latest
```

__OR__

Install with homebrew
```bash
brew tap joepurdy/tap
brew tap ArcadiaPower/tap
brew install awswitch
```

Expand Down
2 changes: 1 addition & 1 deletion cli/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"path/filepath"
"strings"

"github.com/ArcadiaPower/awswitch/sdk/vault"
"github.com/alecthomas/kingpin"
"github.com/c-bata/go-prompt"
"github.com/joepurdy/awswitch/sdk/vault"
"github.com/spf13/viper"
"golang.org/x/term"
)
Expand Down
2 changes: 1 addition & 1 deletion cli/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cli_test
import (
"testing"

"github.com/ArcadiaPower/awswitch/cli"
"github.com/alecthomas/kingpin"
"github.com/joepurdy/awswitch/cli"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/joepurdy/awswitch
module github.com/ArcadiaPower/awswitch

go 1.19

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
"os"
"path/filepath"

"github.com/joepurdy/awswitch/cli"
"github.com/ArcadiaPower/awswitch/cli"
"github.com/spf13/viper"

"github.com/alecthomas/kingpin"
)

// Version is provided at compile time
var Version = "dev"
var Version string

func init() {
// initialize viper config
Expand Down

0 comments on commit a4186ca

Please sign in to comment.