Skip to content

Commit 0cbaa0c

Browse files
authored
feature: aur build (#40)
1 parent c4e4d87 commit 0cbaa0c

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
args: release --clean
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
AUR_SSH_PRIVATE_KEY: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
4243

4344
- name: Set up SSH
4445
run: |

.goreleaser.yaml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,62 @@ changelog:
6969
order: 1
7070
- title: Misc
7171
order: 999
72+
73+
aurs:
74+
- # The package name.
75+
name: chatuino-bin
76+
77+
# Your app's homepage.
78+
#
79+
# Default: inferred from global metadata.
80+
homepage: "https://github.com/julez-dev/chatuino"
81+
82+
# Your app's description.
83+
description: "A client for twitch's IRC service."
84+
85+
# The maintainers of the package.
86+
maintainers:
87+
- "julezdev <julez-dev@pm.me>"
88+
89+
# SPDX identifier of your app's license.
90+
license: "MIT"
91+
92+
# The SSH private key that should be used to commit to the Git repository.
93+
private_key: "{{ .Env.AUR_SSH_PRIVATE_KEY }}"
94+
95+
# The AUR Git URL for this package.
96+
git_url: "ssh://aur@aur.archlinux.org/chatuino-bin.git"
97+
98+
# Setting this will prevent goreleaser to actually try to commit the updated
99+
# formula - instead, the formula file will be stored on the dist directory
100+
# only, leaving the responsibility of publishing it to the user.
101+
#
102+
# If set to auto, the release will not be uploaded to the AUR repo
103+
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1.
104+
skip_upload: auto
105+
106+
# List of additional packages that the software provides the features of.
107+
#
108+
# Default: the project name.
109+
provides:
110+
- chatuino-bin
111+
112+
# List of packages that conflict with, or cause problems with the package.
113+
#
114+
# Default: the project name.
115+
conflicts:
116+
- chatuino-bin
117+
118+
# List of files that can contain user-made changes and should be preserved
119+
# during package upgrades and removals.
120+
backup:
121+
- ~/.config/chatuino/keymap.yaml
122+
- ~/.config/chatuino/settings.yaml
123+
- ~/.config/chatuino/theme.yaml
124+
- ~/.config/chatuino/state.json
125+
- ~/.local/share/chatuino/chatuino.db
126+
- ~/.local/share/chatuino/emote
127+
128+
package: |
129+
install -Dm755 "./chatuino" "${pkgdir}/usr/bin/chatuino"
130+
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

mocks/DB.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)