Skip to content

Commit

Permalink
chore: testing aurs
Browse files Browse the repository at this point in the history
  • Loading branch information
varrcan committed Jul 5, 2023
1 parent b8667c4 commit a67df0b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:
args: release --clean
env:
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43 changes: 39 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ archives:
{{- .Version }}-
{{- tolower .Os }}-
{{- .Arch }}
rlcp: true
files:
- "!*"

Expand All @@ -40,16 +39,16 @@ nfpms:
id: packages
homepage: https://local-deploy.github.io
description: |-
Deploy Local - site deployment assistant locally.
Deploy Local - site deployment assistant locally
A convenient wrapper over docker-compose, which simplifies the local deployment of the project.
maintainer: Sergey Voloshin <dl@varme.pw>
license: MIT
vendor: DeployLocal
section: utils
formats:
- deb
# - rpm
# - archlinux
# - rpm
- archlinux
dependencies:
- docker-ce
- docker-ce-cli
Expand All @@ -70,6 +69,16 @@ nfpms:
lintian_overrides:
- statically-linked-binary
- changelog-file-missing-in-native-package
overrides:
deb:
dependencies:
- docker-ce (>= 5:23) | docker-desktop
- libnss3-tools (>= 2:2)
archlinux:
dependencies:
- docker
- docker-compose
- nss
publishers:
- name: fury.io
Expand All @@ -79,6 +88,32 @@ publishers:
- 'FURY_TOKEN={{ .Env.FURY_TOKEN }}'
cmd: ./.github/scripts/fury-upload.sh {{ .ArtifactName }}

aurs:
- homepage: https://local-deploy.github.io
description: |-
Deploy Local - site deployment assistant locally
A convenient wrapper over docker-compose, which simplifies the local deployment of the project.
maintainers:
- "Sergey Voloshin <dl@varme.pw>"
license: MIT
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://aur@aur.archlinux.org/dl-bin.git"
package: |-
# bin
install -Dm755 "./dl" "${pkgdir}/usr/bin/dl"
# config dir
install -m 0755 -d "${pkgdir}/etc/dl/config-files"
# completions
install -m 0755 -d "${pkgdir}/usr/share/bash-completion/completions/"
install -m 0755 -d "${pkgdir}/usr/share/zsh/site-functions/"
install -Dm644 ".github/scripts/packages/completions/bash" "${pkgdir}/usr/share/bash-completion/completions/dl"
install -Dm644 ".github/scripts/packages/completions/zsh" "${pkgdir}/usr/share/zsh/site-functions/_dl"
commit_author:
name: dlbot
email: dl@varme.pw

checksum:
name_template: 'checksums.txt'

Expand Down

0 comments on commit a67df0b

Please sign in to comment.