Skip to content

Commit 0c806ee

Browse files
github-actions[bot]shpit-botanand-testcompare
authored
chore(pkgbuilds): bump package versions (#3)
* chore(pkgbuilds): bump package versions * chore(pkgbuilds): guide tabex setup after install --------- Co-authored-by: shpit-bot <opensource@shpit.dev> Co-authored-by: Anand Pant <anand@testcompare.ai>
1 parent 4f82dac commit 0c806ee

6 files changed

Lines changed: 41 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ makepkg -si
3838

3939
`gh auth login` must be configured with access to the `shpitdev` org before `makepkg` can download the private release assets.
4040

41+
After installing `tabex-bin`, start with:
42+
43+
```bash
44+
tabex setup
45+
```
46+
47+
The package includes an install hook that prints the same guidance after install or upgrade.
48+
4149
## Temporary Mode
4250

4351
- You can use this repo immediately without creating the AUR repositories or AUR secrets.

docs/setup.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ If you are logged into GitHub locally with `gh auth login`, you can run:
8181

8282
That uses your local GitHub CLI session for private release access.
8383

84+
For `tabex-bin`, the package install hook now points users at:
85+
86+
```bash
87+
tabex setup
88+
```
89+
90+
That is safe because `v0.0.4` is the first stable release that ships the source-repo-side setup flow.
91+
8492
## Full Publish Setup
8593

8694
When you are ready to publish to AUR:

scripts/validate-packages.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ for package_dir in "${repo_root}"/*; do
88
[[ -f "${package_dir}/PKGBUILD" ]] || continue
99
"${repo_root}/scripts/validate-package.sh" "${package_dir}"
1010
done
11+
12+
tabex_pkg="${repo_root}/tabex-bin"
13+
if [[ -f "${tabex_pkg}/PKGBUILD" ]]; then
14+
grep -q 'install="${pkgname}\.install"' "${tabex_pkg}/PKGBUILD"
15+
grep -q 'tabex setup' "${tabex_pkg}/tabex-bin.install"
16+
fi

tabex-bin/.SRCINFO

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
pkgbase = tabex-bin
22
pkgdesc = Tabex CLI for browser session, capture, and page inspection
3-
pkgver = 0.0.3
3+
pkgver = 0.0.4
44
pkgrel = 1
55
url = https://github.com/shpitdev/tabex
6+
install = tabex-bin.install
67
arch = x86_64
78
license = LicenseRef-proprietary
89
makedepends = github-cli

tabex-bin/PKGBUILD

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
# Maintainer: Anand Pant
22

33
pkgname=tabex-bin
4-
pkgver=0.0.3
4+
pkgver=0.0.4
55
pkgrel=1
66
pkgdesc="Tabex CLI for browser session, capture, and page inspection"
77
arch=('x86_64')
88
url="https://github.com/shpitdev/tabex"
99
license=('LicenseRef-proprietary')
10+
install="${pkgname}.install"
1011
makedepends=('github-cli')
1112
provides=('tabex')
1213
conflicts=('tabex')
1314

1415
# Public PKGBUILD, private release asset. Users need GitHub access to the shpitdev org.
1516
_asset="tabex_v${pkgver}_linux_amd64.tar.gz"
16-
_sha256='c687fb78a0df8fbf79a5de147bb474f682082d04f0cc20351718d7eed913d47b'
17+
_sha256='f6f3f2e5912ba985453a4ec4d97522a59ecbb4278a44135264303d96c4451e70'
1718

1819
prepare() {
1920
gh release download "v${pkgver}" \

tabex-bin/tabex-bin.install

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
post_install() {
2+
cat <<'EOF'
3+
==> Tabex needs browser-profile and extension setup after install.
4+
==> Start with:
5+
==> tabex setup
6+
==>
7+
==> That saves browser config, installs or updates the managed Chrome extension locally,
8+
==> and prints the Chrome load or refresh steps.
9+
EOF
10+
}
11+
12+
post_upgrade() {
13+
post_install
14+
}

0 commit comments

Comments
 (0)