Skip to content

Commit

Permalink
added success msg
Browse files Browse the repository at this point in the history
  • Loading branch information
g-awmalik committed Jul 29, 2023
1 parent 3c3ca22 commit b36cb87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
go-version-file: cli/go.mod
cache-dependency-path: cli/go.sum
- run: |-
go test ./... -v
go test ./... -v
2 changes: 1 addition & 1 deletion cli/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SHELL := /bin/bash

# Changing this value will trigger a new release
VERSION=v1.1.12
VERSION=v1.1.11
BINARY=bin/cft
GITHUB_REPO=github.com/GoogleCloudPlatform/cloud-foundation-toolkit
PLATFORMS := linux windows darwin
Expand Down
1 change: 1 addition & 0 deletions cli/bpmetadata/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func generate(cmd *cobra.Command, args []string) error {
return fmt.Errorf(strings.Join(errors, "\n"))
}

Log.Info("metadata generated successfully")
return nil
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,7 @@ function generate_metadata() {
eval "cft blueprint metadata $arg"
fi

if [ $? -eq 0 ]; then
echo "Success!"
else
if [ $? -ne 0 ]; then
echo "Warning! Unable to generate metadata."
fi
# add headers since comments are not preserved with metadata generation
Expand Down

0 comments on commit b36cb87

Please sign in to comment.