diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a9ffcf0..6b0c9a49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ on: - main env: - VERSION_NUMBER: 'v1.2.0' + VERSION_NUMBER: 'v1.2.1' DOCKERHUB_REGISTRY_NAME: 'digitalghostdev/poke-cli' AWS_REGION: 'us-west-2' diff --git a/.gitignore b/.gitignore index 4d4c59ac..1ef22dd2 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ *.idea .dccache dist/ +poke-cli # Test binary, built with `go test -c` *.test diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 75abf583..fc81a6eb 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -14,7 +14,7 @@ builds: - windows - darwin ldflags: - - -s -w -X main.version=v1.2.0 + - -s -w -X main.version=v1.2.1 archives: - format: tar.gz diff --git a/Dockerfile b/Dockerfile index c0058d51..936228e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN go mod download COPY . . -RUN go build -ldflags "-X main.version=v1.2.0" -o poke-cli . +RUN go build -ldflags "-X main.version=v1.2.1" -o poke-cli . # build 2 FROM --platform=$BUILDPLATFORM alpine:latest diff --git a/README.md b/README.md index 2785fd2c..9e6fabc2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ pokemon-logo

Pokémon CLI

version-label - docker-image-size + docker-image-size ci-status-badge
@@ -23,7 +23,7 @@ View future plans in the [Roadmap](#roadmap) section. --- ## Demo -![demo](https://poke-cli-s3-bucket.s3.us-west-2.amazonaws.com/demo-v1.1.0.gif) +![demo](https://poke-cli-s3-bucket.s3.us-west-2.amazonaws.com/demo-v1.2.1.gif) --- ## Installation @@ -76,11 +76,11 @@ View future plans in the [Roadmap](#roadmap) section. 3. Choose how to interact with the container: * Run a single command and exit: ```bash - docker run --rm -it digitalghostdev/poke-cli:v1.2.0 [subcommand] flag] + docker run --rm -it digitalghostdev/poke-cli:v1.2.1 [subcommand] flag] ``` * Enter the container and use its shell: ```bash - docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.2.0 -c "cd /app && exec sh" + docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.2.1 -c "cd /app && exec sh" # placed into the /app directory, run the program with './poke-cli' # example: ./poke-cli ability swift-swim ``` diff --git a/cmd/search/model_input.go b/cmd/search/model_input.go index ba949aed..d2eb4584 100644 --- a/cmd/search/model_input.go +++ b/cmd/search/model_input.go @@ -74,7 +74,7 @@ func RenderInput(m Model) (string, string) { endpoint = "move" case 2: msg = "Enter a Pokémon name:" - endpoint = "ability" + endpoint = "pokemon" default: msg = "Enter your search query:" } diff --git a/demo.gif b/demo.gif index 89ecafa6..8fed910b 100644 Binary files a/demo.gif and b/demo.gif differ diff --git a/demo.tape b/demo.tape index 4694fd7f..bcc6aba2 100644 --- a/demo.tape +++ b/demo.tape @@ -127,6 +127,18 @@ Type clear Enter +Type "poke-cli move eruption" + +Sleep 2s + +Enter + +Sleep 3s + +Type clear + +Enter + Type "poke-cli search" Sleep 2s @@ -135,7 +147,7 @@ Enter Sleep 2s -Down@1s 1 +Down@1s 2 Sleep 2s @@ -143,7 +155,7 @@ Enter Sleep 1s -Type@1s "^ar" +Type@1s "char" Sleep 2s