[add] Automatic build script for github releases.

main
Shinyzenith 2 years ago
parent 8499692702
commit f59dfcd99d
No known key found for this signature in database
GPG Key ID: A3DFCDC66E9E2950

@ -0,0 +1,6 @@
#!/bin/bash
version=$(awk -F = '/version/ {print $2}' Cargo.toml | awk '{$1=$1;print}' | tr -d '"')
make
zip -r "musl_libc-x86_64-$version.zip" ./bin/swhkd ./bin/swhks
make glibc
zip -r "glibc-x86_64-$version.zip" ./bin/swhkd ./bin/swhks
Loading…
Cancel
Save