@@ -7,28 +7,17 @@ Previously maintained by [KSXGitHub](https://github.com/KSXGitHub)
7
7
8
8
## Updating
9
9
10
- If there are no breaking changes with the release, updating the package is as
11
- simple as updating ` pkgver ` in ` PKGBUILD ` to the new version. Make sure
12
- to run ` updpkgsums ` to update the sha256 sums.
13
-
14
- After updating, run this command on an Arch machine to update the ` .SRCINFO ` .
15
- This is the file that is used by the AUR to show package info.
10
+ Make sure you run these commands on an Arch machine. If you're a Coder employee, we suggest using your dogfooding environment.
16
11
12
+ 1 . Update the ` pkgver ` in ` PKGBUILD ` to the latest version
13
+ 1 . Run ` updpkgsums ` to update the sha256 sums
14
+ - If you don't have it installed, run `sudo pacman -S pacman-contrib`
15
+ 1 . Update the ` .SRCINFO ` by running:
17
16
``` bash
17
+ # This is the file that is used by the AUR to show package info.
18
18
makepkg --printsrcinfo > .SRCINFO
19
19
```
20
-
21
- Then, just push to the AUR git repo. You'll have to maintain two remotes in
22
- your ` .git/config ` . Mine is setup as so
23
-
24
- ```
25
- [remote "origin"]
26
- url = [email protected] :/cdr/code-server-aur.git
27
- fetch = +refs/heads/*:refs/remotes/origin/*
28
- [remote "aur"]
29
- url = ssh://[email protected] /code-server.git
30
- fetch = +refs/heads/*:refs/remotes/aur/*
31
- ```
32
-
33
- Then it's as simple as ` git push ` to push to GitHub and ` git push aur ` to
34
- update the AUR.
20
+ 1 . Push changes to GitHub
21
+ 1 . Push changes to ` aur `
22
+ - If you don't have this set up, run `git remote add aur ssh://[email protected] /code-server.git`
23
+ - Run `git push aur`
0 commit comments