Swadhin Biswas

[email protected]
2026-04-01 10:33:24 +0600 committed NaN years ago
ef6b4c4
commit ef6b4c4
4 files changed
+20 -9
▼.github/workflows/release.yml
+13-3
108
108
109
109
- name: Upload DEB to release
110
110
uses: softprops/action-gh-release@v1
111
+ env:
112
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
111
113
with:
112
114
files: src-tauri/target/release/bundle/deb/*.deb
113
115
draft: true
114
116
115
117
- name: Upload RPM to release
116
118
uses: softprops/action-gh-release@v1
119
+ env:
120
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117
121
if: hashFiles('src-tauri/target/release/bundle/rpm/*.rpm') != ''
118
122
with:
119
123
files: src-tauri/target/release/bundle/rpm/*.rpm
133
137
id: get_version
134
138
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
135
139
136
- - name: Update PKGBUILD version
140
+ - name: Update PKGBUILD and .SRCINFO
137
141
run: |
138
- sed -i "s/pkgver=.*/pkgver=${{ steps.get_version.outputs.VERSION }}/" packaging/aur/PKGBUILD
139
- sed -i "s|source = linuxy-.*|source = linuxy-${{ steps.get_version.outputs.VERSION }}.tar.gz::https://github.com/swadhinbiswas/linuxy/archive/refs/tags/v${{ steps.get_version.outputs.VERSION }}.tar.gz|" packaging/aur/.SRCINFO
142
+ VERSION="${{ steps.get_version.outputs.VERSION }}"
143
+ sed -i "s/pkgver=.*/pkgver=${VERSION}/" packaging/aur/PKGBUILD
144
+ sed -i "s/pkgver = .*/pkgver = ${VERSION}/" packaging/aur/.SRCINFO
145
+ sed -i "s|source = linuxy-.*|source = linuxy-${VERSION}.tar.gz::https://github.com/swadhinbiswas/linuxy/archive/refs/tags/v${VERSION}.tar.gz|" packaging/aur/.SRCINFO
140
146
141
147
- name: Publish to AUR
142
148
uses: KSXGitHub/[email protected]
143
149
with:
144
150
pkgname: linuxy
145
151
pkgbuild: packaging/aur/PKGBUILD
152
+ assets: |
153
+ packaging/aur/.SRCINFO
154
+ packaging/aur/linuxy.install
146
155
commit_username: ${{ secrets.AUR_USERNAME }}
147
156
commit_email: ${{ secrets.AUR_EMAIL }}
148
157
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
149
158
commit_message: "chore: update to version ${{ steps.get_version.outputs.VERSION }}"
150
159
ssh_keyscan_types: rsa,ed25519
160
+ updpkgsums: true
151
161
152
162
notify:
153
163
name: Notify Release
154
164
▼packaging/aur/.SRCINFO
+2-2
1
1
pkgbase = linuxy
2
2
pkgdesc = One-click Linux Application Manager with Firejail sandboxing
3
- pkgver = 1.0.0
3
+ pkgver = 1.1.0
4
4
pkgrel = 1
5
5
url = https://github.com/swadhinbiswas/linuxy
6
6
arch = x86_64
14
14
makedepends = cargo
15
15
makedepends = nodejs
16
16
makedepends = npm
17
- source = linuxy-1.0.0.tar.gz::https://github.com/swadhinbiswas/linuxy/archive/refs/tags/v1.0.0.tar.gz
17
+ source = linuxy-1.1.0.tar.gz::https://github.com/swadhinbiswas/linuxy/archive/refs/tags/v1.1.0.tar.gz
18
18
sha256sums = SKIP
19
19
20
20
pkgname = linuxy
21
21
▼packaging/aur/PKGBUILD
+3-2
2
2
# AUR Package for Linuxy - One-click Linux Application Manager
3
3
4
4
pkgname=linuxy
5
-pkgver=1.0.0
5
+pkgver=1.1.0
6
6
pkgrel=1
7
7
pkgdesc="One-click Linux Application Manager with Firejail sandboxing"
8
8
arch=('x86_64')
38
38
# Install icons
39
39
install -Dm644 "src-tauri/icons/32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/linuxy.png"
40
40
install -Dm644 "src-tauri/icons/128x128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/linuxy.png"
41
- install -Dm644 "src-tauri/icons/[email protected]" "$pkgdir/usr/share/icons/hicolor/256x256@2/apps/linuxy.png"
41
+ install -Dm644 "src-tauri/icons/[email protected]" "$pkgdir/usr/share/icons/hicolor/256x256/apps/linuxy.png"
42
+ install -Dm644 "src-tauri/icons/icon.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/linuxy.png"
42
43
43
44
# Install license
44
45
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
45
46
▼packaging/aur/linuxy.install
+2-2
9
9
10
10
# Update icon cache
11
11
if command -v gtk-update-icon-cache &> /dev/null; then
12
- for size in 32x32 128x128 256x256; do
12
+ for size in 32x32 128x128 256x256 512x512; do
13
13
gtk-update-icon-cache -f -t /usr/share/icons/hicolor/$size 2>/dev/null || true
14
14
done
15
15
fi
24
24
25
25
# Update icon cache
26
26
if command -v gtk-update-icon-cache &> /dev/null; then
27
- for size in 32x32 128x128 256x256; do
27
+ for size in 32x32 128x128 256x256 512x512; do
28
28
gtk-update-icon-cache -f -t /usr/share/icons/hicolor/$size 2>/dev/null || true
29
29
done
30
30
fi
31
31