Compare commits

...

1 Commits
v0.1.4 ... main

Author SHA1 Message Date
d7dc80eedd fix: CI/CD 2025-01-16 17:54:22 +02:00
3 changed files with 14 additions and 4 deletions

View File

@ -141,14 +141,24 @@ jobs:
echo >> PKGBUILD echo >> PKGBUILD
cat >> PKGBUILD << 'EOF' cat >> PKGBUILD << 'EOF'
prepare() {
cd "$srcdir"
tar xf "sula-alus-x86_64-unknown-linux-gnu.tar.gz"
}
package() { package() {
cd "$srcdir/" cd "$srcdir"
install -Dm755 sula-alus "${pkgdir}/usr/bin/sula-alus" install -Dm755 sula-alus "${pkgdir}/usr/bin/sula-alus"
} }
EOF EOF
- name: Generate .SRCINFO - name: Generate .SRCINFO
run: | run: |
docker run --rm -v "$PWD":/pkg -w /pkg archlinux:base-devel bash -c 'pacman -Sy --noconfirm base-devel && su nobody -c "makepkg --printsrcinfo" > .SRCINFO' docker run --rm -v "$PWD":/pkg -w /pkg archlinux:base-devel bash -c '
useradd -m builder && \
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
chown -R builder:builder /pkg && \
su builder -c "makepkg --printsrcinfo > .SRCINFO"
'
- name: Publish AUR package - name: Publish AUR package
uses: KSXGitHub/github-actions-deploy-aur@v3.0.1 uses: KSXGitHub/github-actions-deploy-aur@v3.0.1
with: with:

2
Cargo.lock generated
View File

@ -142,7 +142,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]] [[package]]
name = "sula-alus" name = "sula-alus"
version = "0.1.4" version = "0.1.5"
dependencies = [ dependencies = [
"clap", "clap",
] ]

View File

@ -1,7 +1,7 @@
[package] [package]
name = "sula-alus" name = "sula-alus"
authors = ["Kristofers Solo <dev@kristofers.xyz>"] authors = ["Kristofers Solo <dev@kristofers.xyz>"]
version = "0.1.4" version = "0.1.5"
edition = "2021" edition = "2021"
description = "A CLI tool to encode strings and files using Sula-Alus encoding" description = "A CLI tool to encode strings and files using Sula-Alus encoding"
repository = "https://github.com/kristoferssolo/sula-alus" repository = "https://github.com/kristoferssolo/sula-alus"