Skip to content

Commit

Permalink
chore: update Go version and remove unnecessary content
Browse files Browse the repository at this point in the history
- Update the value of GO_VERSION from '1.21' to '1.22' in the file `.github/workflows/check.yml`
- Update the value of GO_VERSION from '1.21' to '1.22' in the file `.github/workflows/test.yml`
- Remove the nfpms section and its related content from the file `.goreleaser.yaml`

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Feb 26, 2024
1 parent 92d8f42 commit f2dddd4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 89 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: check

env:
# Common versions
GO_VERSION: '1.21'
GO_VERSION: '1.22'
TZ: Asia/Shanghai

permissions: write-all
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build for test

env:
# Common versions
GO_VERSION: '1.21'
GO_VERSION: '1.22'
TZ: Asia/Shanghai

permissions: write-all
Expand Down
87 changes: 0 additions & 87 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,93 +50,6 @@ checksum:
snapshot:
name_template: "{{ .Version }}-snapshot-{{ .ShortCommit }}"

nfpms:
- file_name_template: 'qcadmin_{{ .Tag }}_{{ .Os }}_{{ .Arch }}'
builds:
- qcadmin
package_name: qcadmin
priority: optional
vendor: https://github.com/easysoft/quickon_cli
homepage: https://www.qucheng.com
version_metadata: git
description: |-
Cloud Native application delivery platform cli
maintainer: easysoft
license: AGPL-3.0
formats:
- deb
- rpm
bindir: /usr/bin
section: utils
contents:
- src: ./completions/q.bash
dst: /usr/share/bash-completion/completions/q
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/q.fish
dst: /usr/share/fish/completions/q.fish
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/q.zsh
dst: /usr/share/zsh/vendor-completions/_q
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./manpages/q.1.gz
dst: /usr/share/man/man1/q.1.gz
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./LICENSE.md
dst: /usr/share/doc/q/copyright
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/qcadmin.bash
dst: /usr/share/bash-completion/completions/qcadmin
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/qcadmin.fish
dst: /usr/share/fish/completions/qcadmin.fish
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/qcadmin.zsh
dst: /usr/share/zsh/vendor-completions/_qcadmin
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./manpages/qcadmin.1.gz
dst: /usr/share/man/man1/qcadmin.1.gz
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./LICENSE.md
dst: /usr/share/doc/qcadmin/copyright
file_info:
mode: 0644
owner: notRoot
group: notRoot
- dst: /root/.qc
type: dir
scripts:
preinstall: ./hack/packaging/preinstall.sh
postinstall: ./hack/packaging/postinstall.sh
preremove: ./hack/packaging/preremove.sh
postremove: ./hack/packaging/postremove.sh

changelog:
sort: asc
filters:
Expand Down

0 comments on commit f2dddd4

Please sign in to comment.