CLI packaging cleanup (#682)

This is a continuation of the changes in
https://github.com/ente-io/ente/pull/681.

- git rm cli/config.yaml (this file was gitignored but it seems to be
present in the tree too)
- Remove goreleaser config since we're not using it anymore

I'm not sure if there is something in the goreleaser config that we also
need to pass to the the new action we're using to build the binaries
now, so please take a quick scan to see if something reminds you. If
needed, we should be able to set the corresponding build flag in the
[new release action](https://github.com/wangyoucao577/go-release-action)
too.
This commit is contained in:
Manav Rathi 2024-03-05 18:07:59 +05:30 committed by GitHub
commit 8da4dbeb12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 58 deletions

View file

@ -1,58 +0,0 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
# The lines bellow are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
project_name: ente
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
nfpms:
- package_name: ente
homepage: https://github.com/ente-io/cli
maintainer: ente.io <engineering@ente.io>
description: |-
Command Line Utility for exporting data from https://ente.io
formats:
- rpm
- deb
- apk
sboms:
- artifacts: archive
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

View file