Skip to content

Commit

Permalink
Prep for stable release (#100)
Browse files Browse the repository at this point in the history
* Release `aura-cli`

* Better error message for no credentials

* Move CLI out of prerelease
  • Loading branch information
darrellwarde authored Dec 20, 2024
1 parent 7b00cd6 commit e1e782f
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 23 deletions.
6 changes: 0 additions & 6 deletions .changes/v1.0.0-beta.1.md

This file was deleted.

7 changes: 7 additions & 0 deletions .changes/v1.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## v1.0.0 - 2024-12-20
This is the first stable release of the Aura CLI, which brings support for managing the following Aura resources:
* Instances (create/delete/get/list/overwrite/pause/resume/update)
* Snapshots (create/get/list)
* Customer Managed Keys (create/delete/get/list)
* Tenants (get/list)

3 changes: 0 additions & 3 deletions .changes/v1.0.0/Added-20241104-075953.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/v1.0.0/Added-20241104-080849.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/v1.0.0/Added-20241125-174600.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/v1.0.0/Added-20241127-155407.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
version: 2

# TODO: Change to neo4j-cli if decided to release "mono-CLI"
project_name: aura
project_name: aura-cli

before:
hooks:
Expand All @@ -28,8 +28,8 @@ builds:
# ldflags:
# - -X "main.Version={{.Env.GORELEASER_CURRENT_TAG}}"
- main: ./neo4j-cli/aura/cmd
id: aura
binary: aura
id: aura-cli
binary: aura-cli
env:
- CGO_ENABLED=0
goos:
Expand Down Expand Up @@ -70,7 +70,7 @@ notarize:
#
# Default: the project name.
ids:
- neo4j-cli
- aura-cli

sign:
# The .p12 certificate file path or its base64'd contents.
Expand Down
2 changes: 1 addition & 1 deletion common/clicfg/credentials/aura.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (c *AuraCredentials) SetDefault(name string) error {

func (c *AuraCredentials) GetDefault() (*AuraCredential, error) {
if c.DefaultCredential == "" {
return nil, clierr.NewUsageError("default credential not set")
return nil, clierr.NewUsageError("default credential not set, please follow the instructions at https://neo4j.com/docs/aura/classic/platform/api/authentication/#_creating_credentials and use the `credential add` subcommand to add the created credentials")
}
return c.Get(c.DefaultCredential)
}
Expand Down

0 comments on commit e1e782f

Please sign in to comment.