blob: 416f54bc746d995d41215d331c376462bc3ed673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# code-server-aur
Arch User Repository package for [code-server](https://github.com/cdr/code-server).
Feel free to file issues here or comment on the AUR page.
Previously maintained by [KSXGitHub](https://github.com/KSXGitHub)
## Updating
If there are no breaking changes with the release, updating the package is as
simple as updating `pkgver` in `PKGBUILD` to the new version.
After updating, run this command on an Arch machine to update the `.SRCINFO`.
This is the file that is used by the AUR to show package info.
```bash
makepkg --printsrcinfo > .SRCINFO
```
Then, just push to the AUR git repo. You'll have to maintain two remotes in
your `.git/config`. Mine is setup as so
```
[remote "origin"]
url = git@github.com:/cdr/code-server-aur.git
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "aur"]
url = ssh://aur@aur.archlinux.org/code-server.git
fetch = +refs/heads/*:refs/remotes/aur/*
```
Then it's as simple as `git push` to push to GitHub and `git push aur` to
update the AUR.
|