Commit graph

23 commits

Author SHA1 Message Date
Neeraj Gupta
e42422407c [cli] Pick version from the github tag 2024-03-13 11:43:19 +05:30
Neeraj Gupta
2711a227fc [cli] Update gen docs + add docs/selfhost.md 2024-03-13 11:43:19 +05:30
Neeraj Gupta
0678e3129a [cli] generated docs 2024-03-13 02:03:44 +05:30
Neeraj Gupta
b164b0df21 [cli] By default, update sub to high storage & expiry 2024-03-13 02:03:44 +05:30
Neeraj Gupta
0d38346722 [cli] Add admin API to bump up storage for free users 2024-03-13 02:03:44 +05:30
Neeraj Gupta
51d3238a52 [cli] Log query params in debug mode 2024-03-13 02:03:44 +05:30
Neeraj Gupta
ddd89aa1d1 [cli] Log query params in debug mode 2024-03-13 02:03:44 +05:30
Neeraj Gupta
f21a627a71 Add cli generated docs inside docs/generated 2024-03-13 02:03:44 +05:30
Neeraj Gupta
063e980280 [cli] Add command to get-token 2024-03-13 02:03:44 +05:30
Neeraj Gupta
d7d42b6854 [cli] Add example config file 2024-03-13 02:03:44 +05:30
Neeraj Gupta
260a7fbcaa [cli] Allow switching API host based on config 2024-03-13 02:03:44 +05:30
Manav Rathi
239d7f33ed Document BuildKit requirement
See https://github.com/ente-io/ente/issues/712
2024-03-07 12:56:58 +05:30
Manav Rathi
85af7f920c Improve CLI documentation 2024-03-07 12:53:12 +05:30
Manav Rathi
2101d06d32 export CGO_ENABLED=0
The configuration used by goreleaser (which we previously used to build the
release binaries) had set CGO_ENABLED=0. Since we don't specifically need this
to be on, revert to that configuration.

Also add a few more go build flags to reduce the size of the produced binaries

Ref:
- https://github.com/wangyoucao577/go-release-action/issues/33
- https://github.com/wangyoucao577/go-release-action
- https://github.com/ente-io/cli/blob/main/.goreleaser.yaml#L18

Related:
- https://github.com/ente-io/ente/issues/727
2024-03-07 12:00:17 +05:30
Manav Rathi
b70ca6bec2 Remove environment variable unset
exports don't survive the shell script
2024-03-07 11:15:45 +05:30
Manav Rathi
636454faa2 Use the tag: qualifier to better filter the releases
We still need to provide at least the major version, and we'll need to remember
to update these links when the major version changes.

Ref:
- https://docs.github.com/en/repositories/releasing-projects-on-github/searching-a-repositorys-releases
2024-03-06 14:42:49 +05:30
Manav Rathi
a4618faa55 [cli] Update the link to the CLI downloads in README 2024-03-06 10:37:16 +05:30
Manav Rathi
00253a923a Remove goreleaser config since we're not using it anymore 2024-03-05 16:21:43 +05:30
Manav Rathi
e97468180f git rm cli/config.yaml
This file is gitignored but it seems to be present in our repo.
2024-03-05 16:21:14 +05:30
Manav Rathi
1b9af538fd Add CLI release workflow 2024-03-05 13:42:25 +05:30
Neeraj Gupta
85cc8f0173 [cli] Bump version to 0.1.11 2024-03-05 12:31:25 +05:30
Neeraj Gupta
d36be6efbd [cli] Add command to decrypt auth export 2024-03-05 12:31:25 +05:30
Manav Rathi
39ef006532 Move into cli/ 2024-03-01 12:39:01 +05:30