aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: 541b2cfce06958e7cde5faf933f08cf117a9679a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
### How to deploy

- Make sure the sha256 sums are valid at [PKGBUILD](PKGBUILD#L19).
    ```sh
    sha256sum kubenav.png
    sha256sum kubenav.desktop
    # LICENSE file
    curl -s https://raw.githubusercontent.com/kubenav/kubenav/master/LICENSE | sha256sum
    # released zip file
    pkgname=$(cat PKGBUILD | grep '_pkgname=' | awk -F "=" '{print $2}') && \
    pkgver=$(cat PKGBUILD | grep 'pkgver=' | awk -F "=" '{print $2}') && \
    curl -L "https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-linux-amd64.zip" | sha256sum
    ```

- Bump `pkgver` and `pkgrel` at [PKGBUILD](PKGBUILD#L4) accordingly
(see https://wiki.archlinux.org/index.php/PKGBUILD#Version).

- Run `rm -rf pkg/ src/ && makepkg --install --force` to check whether the installation works
successfully.

- Run `makepkg --printsrcinfo > .SRCINFO` to update [.SRCINFO](.SRCINFO).

- Commit and push.