Compare commits

...

9 Commits

Author SHA1 Message Date
Takashi Kokubun 53a6d0553d Version 0.8.18 2 months ago
Takashi Kokubun 3ce9b7a89d Revert "Version 0.8.18"
This reverts commit 429133067e.
2 months ago
Takashi Kokubun 2f22c52b12 Split release and publish 2 months ago
Takashi Kokubun 429133067e Version 0.8.18 2 months ago
Takashi Kokubun b1640a39e6 The username has been changed to xremap 2 months ago
Takashi Kokubun 1c0f123efd Revert "Version 0.8.18"
This reverts commit 2697d66d4f.
2 months ago
Takashi Kokubun 2697d66d4f Version 0.8.18 2 months ago
Takashi Kokubun 3ed63efc10 Reorder release operations 2 months ago
Takashi Kokubun e283960fab Update GHR_VERSION 2 months ago

@ -62,7 +62,8 @@ jobs:
key: ubuntu-latest
- run: cargo test
publish:
# Release xremap binaries on GitHub
release:
runs-on: ubuntu-latest
needs:
- build
@ -75,16 +76,6 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
with:
key: ubuntu-latest
# Release crate
- name: cargo login
run: cargo login "$CARGO_TOKEN"
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
- run: cargo publish
# Fetch x86_64 binary
- { uses: actions/download-artifact@v3, with: { name: xremap-x86_64-x11, path: package/ } }
@ -107,7 +98,32 @@ jobs:
run: |
export VERSION=$(echo "$GITHUB_REF" | sed -e 's!refs/tags/!!')
curl -L "https://github.com/tcnksm/ghr/releases/download/${GHR_VERSION}/ghr_${GHR_VERSION}_linux_amd64.tar.gz" | tar xvz
"ghr_${GHR_VERSION}_linux_amd64/ghr" -u k0kubun -r xremap -replace -n "$VERSION" "$VERSION" package/
"ghr_${GHR_VERSION}_linux_amd64/ghr" -u xremap -r xremap -replace -n "$VERSION" "$VERSION" package/
env:
GHR_VERSION: v0.14.0
GHR_VERSION: v0.16.2
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Publish xremap to crates.io
publish:
runs-on: ubuntu-latest
needs:
- build
- test
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
with:
key: ubuntu-latest
# Release crate
- name: cargo login
run: cargo login "$CARGO_TOKEN"
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
- run: cargo publish

@ -1,3 +1,7 @@
## v0.8.18
- Fix issues in the release pipeline
## v0.8.17
- Add `window` matcher for the `kde` client [#448](https://github.com/xremap/xremap/pull/448)

2
Cargo.lock generated

@ -1893,7 +1893,7 @@ checksum = "e63e71c4b8bd9ffec2c963173a4dc4cbde9ee96961d4fcb4429db9929b606c34"
[[package]]
name = "xremap"
version = "0.8.17"
version = "0.8.18"
dependencies = [
"anyhow",
"clap",

@ -1,6 +1,6 @@
[package]
name = "xremap"
version = "0.8.17"
version = "0.8.18"
edition = "2021"
description = "Dynamic key remapp for X and Wayland"
license = "MIT"

Loading…
Cancel
Save