Skip to content

Commit 5aa6fcb

Browse files
committed
feat: vuru fixes
1 parent bc21909 commit 5aa6fcb

6 files changed

Lines changed: 24 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Install Dependencies
4646
run: |
47-
xbps-install -Sy git curl bash python3 github-cli util-linux shadow findutils
47+
xbps-install -Sy git curl bash python3 github-cli util-linux shadow findutils tar
4848
4949
5050
- name: Check Gate
@@ -191,7 +191,6 @@ jobs:
191191
with:
192192
tag_name: ${{ matrix.category }}-current
193193
files: void-packages/dist/*
194-
overwrite: true
195194
fail_on_unmatched_files: true
196195

197196
deploy-index:

.github/workflows/pr-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
4949
- name: Install Dependencies
5050
run: |
51-
xbps-install -Sy git curl bash util-linux shadow findutils
51+
xbps-install -Sy git curl bash util-linux shadow findutils tar
5252
5353
- name: Checkout VUP
5454
uses: actions/checkout@v4

.github/workflows/vuru-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- name: Install Dependencies
2424
run: |
25-
xbps-install -Sy git curl bash python3 github-cli util-linux shadow findutils
25+
xbps-install -Sy git curl bash python3 github-cli util-linux shadow findutils tar
2626
xbps-install -y gcc pkg-config # Essential for cargo builds if not in base
2727
2828
- name: Checkout Source
@@ -112,7 +112,6 @@ jobs:
112112
files: |
113113
void-packages/hostdir/binpkgs/vuru-*.xbps
114114
void-packages/hostdir/binpkgs/repodata
115-
overwrite: true
116115
117116
env:
118117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

DEV.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,21 @@ sudo xbps-install -R https://github.com/void-linux/vup/releases/download/vuru-cu
4343
2. **Lookup** `pkg``category`.
4444
3. **Construct** Release URL.
4545
4. **Exec** `xbps-install -R <URL> <pkg>`.
46+
47+
## 7. Release Workflow
48+
49+
### Releasing Packages (VUP)
50+
Packages are built automatically when their template is modified.
51+
1. **Push Changes**: Modify `srcpkgs/<category>/<pkgname>/template`.
52+
2. **Commit & Push**: `git push origin main`.
53+
3. **Result**: CI builds only the modified category and updates the `<category>-current` release.
54+
4. **Manual**: Go to Actions -> Build and Release -> Run workflow -> Select Branch & Category.
55+
56+
### Releasing VURU (Client)
57+
The VURU client has its own dedicated workflow.
58+
1. **Tag**: Create a tag starting with `v` (e.g., `v0.1.0`).
59+
```bash
60+
git tag v0.2.0
61+
git push origin v0.2.0
62+
```
63+
2. **Result**: CI builds the `vuru` binary and updates the `vuru-current` release.

vup/srcpkgs/core/vuru/template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Template file for 'vuru'
1+
# Template file for 'vuru'
22
pkgname=vuru
3-
version=0.1.0
3+
version=0.2.0
44
revision=1
55
build_style=cargo
66
hostmakedepends="cargo pkg-config"

vuru/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vuru"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2024"
55

66
[dependencies]

0 commit comments

Comments
 (0)