Rui Chen
2e517535b3
[cli] Switch to go v1.23 ( #4556 )
...
## Description
feat: update to use go1.23
---
relates to https://github.com/Homebrew/homebrew-core/pull/201919
(homebrew side always use latest go for building the artifact)
also love a new cli release for some patches so that we can proceed with
the homebrew PR
Signed-off-by: Rui Chen <rui@chenrui.dev >
2025-01-01 13:47:39 +05:30
Neeraj Gupta
077ba04664
[cli-release.yml] Pass release version in build flag
2024-03-13 11:43:19 +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
36d5aa9f01
Add mobile release workflow
2024-03-05 20:36:07 +05:30
Manav Rathi
50a9b38727
Disable md5s, keep only sha256es
2024-03-05 16:07:30 +05:30
Manav Rathi
e29704c381
Fix matrix
2024-03-05 16:03:14 +05:30
Manav Rathi
5bc43aa0c5
Create a job matrix
2024-03-05 16:01:31 +05:30
Manav Rathi
52d1540ad6
release-tag isn't working, go back to release-name but customize the asset title
2024-03-05 15:20:04 +05:30
Manav Rathi
197ea28f76
Restore permissions
2024-03-05 15:14:14 +05:30
Manav Rathi
a80c2b4d83
Retain the name to allow the action to find the existing release
2024-03-05 15:04:13 +05:30
Manav Rathi
d5f4c8d358
Fix the name of the generated assets
2024-03-05 15:01:39 +05:30
Manav Rathi
79f4c9ebd9
Try with reduced permissions
2024-03-05 14:59:29 +05:30
Manav Rathi
cec1d2cf4e
Provide it a release_name to get it to pick the latest draft
...
Ref: https://github.com/wangyoucao577/go-release-action
2024-03-05 14:53:08 +05:30
Manav Rathi
e376decec1
Try with packages
2024-03-05 14:51:26 +05:30
Manav Rathi
d6ac40b047
Need to create a release first
2024-03-05 14:37:57 +05:30
Manav Rathi
d627fdc0fd
Add permissions
...
Ref:
- https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
- https://github.com/wangyoucao577/go-release-action/issues/119
2024-03-05 14:35:42 +05:30
Manav Rathi
0e5a0120b2
Create a release first
2024-03-05 14:30:16 +05:30
Manav Rathi
fb6dbde198
Try an alternative action that allows tags prefixes
...
goreleases doesn't like it if we give it a tag with a prefix, as is our case
with "cli-...".
> ⨯ release failed after 0s error=failed to parse tag 'cli-v0.0.0-rc2' as
semver: Invalid Semantic Version
2024-03-05 14:17:24 +05:30
Manav Rathi
4c1bb65620
Remove deprecated flag
...
From the action run:
> DEPRECATED: --rm-dist was deprecated in favor of --clean, check https://goreleaser.com/deprecations#-rm-dist for more details
2024-03-05 13:47:08 +05:30
Manav Rathi
1b9af538fd
Add CLI release workflow
2024-03-05 13:42:25 +05:30