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

chore: Enhance package generation #29

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/generate_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ jobs:
- uses: actions/[email protected] # v4.0.0
with:
go-version-file: 'go.mod'
- id: release-notes-download
name: Release Notes Download
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: release-notes
path: /tmp
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
with:
Expand Down
10 changes: 7 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,24 @@ builds:
- CGO_ENABLED=0
# Default: [ 'darwin', 'linux', 'windows' ]
# Default: [ '386', 'amd64', 'arm64' ]
binary: '{{ .ProjectName }}'
binary: '{{ .ProjectName }}_{{ .Version }}'

universal_binaries:
- replace: true

nfpms:
- maintainer: Carlos A Becker <[email protected]>
description: cloudavenue-cli is a terminal app built to give a basic view to manage your Cloud Avenue IaC.
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}'
maintainer: https://github.com/orgs/orange-cloudavenue/teams
description: >-
cloudavenue-cli is a terminal app built to give a basic view to manage your Cloud Avenue IaaS.
homepage: https://github.com/orange-cloudavenue/cloudavenue-cli
license: MIT
formats:
- deb
- rpm
- apk
bindir: /usr/local/bin
section: default

brews:
- name: cloudavenue-cli
Expand Down
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

### :rocket: **New Features**

* `New s3` - Add List, Create, Delete operations for s3 bucket (Object Storage). (GH-22)
* `New vdc` - Add List, Create, Delete operations for vdc (Virtual Data Center). (GH-22)
* `binary` - Add packaging distribution. (GH-26)
* `edgegateway` - Add List, Create, Delete operations for edgegateway. (GH-22)
* `publicip` - Add List, Create, Delete operations for publicip. (GH-22)
Expand Down