From 3f006d5b7be25d64bed7feef6a1745999381c938 Mon Sep 17 00:00:00 2001 From: Shinyzenith Date: Sun, 6 Mar 2022 14:45:20 +0530 Subject: [PATCH] [bump] Version & [workflow] upload glibc and musl --- .github/workflows/build.yml | 6 +++--- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- release.sh | 9 +++++++-- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b68dca7..1159d82 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,8 @@ jobs: - name: Setup. run: make setup - - name: Compile musl-libc. - run: make + - name: ZIP. + run: ./release.sh - name: Release uses: "marvinpinto/action-automatic-releases@latest" @@ -30,6 +30,6 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: ${{ env.VERSION }} prerelease: false - title: "swhkd musl ${{ env.VERSION }}" + title: "Swhkd ${{ env.VERSION }}" files: | bin/* diff --git a/Cargo.lock b/Cargo.lock index 9c90eaa..3ad9f94 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "Simple-Wayland-HotKey-Daemon" -version = "1.1.0" +version = "1.1.2" dependencies = [ "clap", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 4c1fe36..0dda81e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "Simple-Wayland-HotKey-Daemon" -version = "1.1.0" +version = "1.1.2" edition = "2021" authors = [ "Shinyzenith \n", diff --git a/README.md b/README.md index ecaadc9..7209a71 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- + diff --git a/release.sh b/release.sh index 40c9357..e4fb745 100755 --- a/release.sh +++ b/release.sh @@ -1,6 +1,11 @@ #!/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 +cd bin +zip -r "musl_libc-x86_64-$version.zip" swhkd swhks +cd .. make glibc -zip -r "glibc-x86_64-$version.zip" ./bin/swhkd ./bin/swhks +cd bin +zip -r "glibc-x86_64-$version.zip" swhkd swhks +rm ./swhkd +rm ./swhks