Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version command #36

Open
dexhorthy opened this issue Mar 28, 2019 · 2 comments
Open

version command #36

dexhorthy opened this issue Mar 28, 2019 · 2 comments

Comments

@dexhorthy
Copy link
Member

We need a command like ship version https://github.com/replicatedhq/ship that outputs the tag and git info.

@dexhorthy
Copy link
Member Author

@laverya This appears to have been added in #54 and #52 , but requires an API token to check the version:

$ replicated version  
Error: Please provide your API token

Usage:
  replicated version [flags]

Flags:
    -h, --help   help for version

Global Flags:
        --app string     The app slug or app id to use in all calls
      --token string   The API token to use to access your app in the Vendor API

Please provide your API token

@MikaelSmith
Copy link
Contributor

This seems to work without an API token for me now. At least I tried by unsetting my REPLICATED_* environment variables ard ran replicated version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants