Skip to content

Commit

Permalink
[bump] Version & [workflow] upload glibc and musl
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinyzenith committed Mar 6, 2022
1 parent cbee409 commit 3f006d5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ 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"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ env.VERSION }}
prerelease: false
title: "swhkd musl ${{ env.VERSION }}"
title: "Swhkd ${{ env.VERSION }}"
files: |
bin/*
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "Simple-Wayland-HotKey-Daemon"
version = "1.1.0"
version = "1.1.2"
edition = "2021"
authors = [
"Shinyzenith <[email protected]>\n",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<p align="center">
<a href="./LICENSE.md"><img src="https://img.shields.io/github/license/waycrate/swhkd?style=flat-square&logo=appveyor"></a>
<img src="https://img.shields.io/badge/cargo-v1.1.0-green?style=flat-square&logo=appveyor">
<img src="https://img.shields.io/badge/cargo-v1.1.2-green?style=flat-square&logo=appveyor">
<img src="https://img.shields.io/github/issues/waycrate/swhkd?style=flat-square&logo=appveyor">
<img src="https://img.shields.io/github/forks/waycrate/swhkd?style=flat-square&logo=appveyor">
<img src="https://img.shields.io/github/stars/waycrate/swhkd?style=flat-square&logo=appveyor">
Expand Down
9 changes: 7 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3f006d5

Please sign in to comment.