Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 150ff05048 | |||
| 4f283ca983 | |||
| d7bdccfddb |
@@ -12,7 +12,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: check version
|
- name: check version
|
||||||
# cut off the v part of the tag to only search for the number
|
# cut off the v part of the tag to only search for the number
|
||||||
run: grep -q "$(echo "${{ github.ref_name }}" | cut -c2-)" Cargo.toml
|
# include the " = " to not match on main, only v* tags
|
||||||
|
run: grep -q " = \"$(echo "${{ github.ref_name }}" | cut -c2-)\"" Cargo.toml
|
||||||
- uses: rust-lang/crates-io-auth-action@v1
|
- uses: rust-lang/crates-io-auth-action@v1
|
||||||
id: auth
|
id: auth
|
||||||
- run: cargo publish
|
- run: cargo publish
|
||||||
|
|||||||
@@ -15,18 +15,24 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
info:
|
info:
|
||||||
- os: "macOS"
|
- os: "macOS-arm"
|
||||||
runs-on: "macos-latest"
|
runs-on: "macos-latest"
|
||||||
executable-extension: ""
|
executable-extension: ""
|
||||||
- os: "linux-x86"
|
- os: "macOS-intel"
|
||||||
|
runs-on: "macos-26-intel"
|
||||||
|
executable-extension: ""
|
||||||
|
- os: "linux-x86_64"
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
executable-extension: ""
|
executable-extension: ""
|
||||||
- os: "linux-arm"
|
- os: "linux-arm"
|
||||||
runs-on: "ubuntu-24.04-arm"
|
runs-on: "ubuntu-24.04-arm"
|
||||||
executable-extension: ""
|
executable-extension: ""
|
||||||
- os: "Windows"
|
- os: "Windows-x86_64"
|
||||||
runs-on: "windows-latest"
|
runs-on: "windows-latest"
|
||||||
executable-extension: ".exe"
|
executable-extension: ".exe"
|
||||||
|
- os: "Windows-arm"
|
||||||
|
runs-on: "windows-11-arm"
|
||||||
|
executable-extension: ".exe"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: check version
|
- name: check version
|
||||||
|
|||||||
Generated
+1
-1
@@ -568,7 +568,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hexapoda"
|
name = "hexapoda"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"clap_complete",
|
"clap_complete",
|
||||||
|
|||||||
+22
-1
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "hexapoda"
|
name = "hexapoda"
|
||||||
# if run manually, CI will check for the string "ain" (lol), so here you go :)
|
# if run manually, CI will check for the string "ain" (lol), so here you go :)
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
description = "a colorful modal hex editor"
|
description = "a colorful modal hex editor"
|
||||||
repository = "https://github.com/simonomi/hexapoda"
|
repository = "https://github.com/simonomi/hexapoda"
|
||||||
keywords = ["cli", "tui", "hex", "tool", "editor"]
|
keywords = ["cli", "tui", "hex", "tool", "editor"]
|
||||||
@@ -23,3 +23,24 @@ clap = { version = "4.6.0", features = ["derive"] }
|
|||||||
clap_complete = "4.6.3"
|
clap_complete = "4.6.3"
|
||||||
clap_complete_nushell = "4.6.0"
|
clap_complete_nushell = "4.6.0"
|
||||||
clap_mangen = "0.3.0"
|
clap_mangen = "0.3.0"
|
||||||
|
|
||||||
|
[package.metadata.binstall]
|
||||||
|
pkg-fmt = "zip"
|
||||||
|
|
||||||
|
[package.metadata.binstall.overrides.'cfg(all(target_os = "macos", target_arch = "aarch64" ))']
|
||||||
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-macOS-arm-v{ version }{ archive-suffix }"
|
||||||
|
|
||||||
|
[package.metadata.binstall.overrides.'cfg(all(target_os = "macos", target_arch = "x86_64" ))']
|
||||||
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-macOS-intel-v{ version }{ archive-suffix }"
|
||||||
|
|
||||||
|
[package.metadata.binstall.overrides.'cfg(all(target_os = "linux", target_arch = "x86_64" ))']
|
||||||
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-linux-x86_64-v{ version }{ archive-suffix }"
|
||||||
|
|
||||||
|
[package.metadata.binstall.overrides.'cfg(all(target_os = "linux", target_arch = "aarch64" ))']
|
||||||
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-linux-arm-v{ version }{ archive-suffix }"
|
||||||
|
|
||||||
|
[package.metadata.binstall.overrides.'cfg(all(target_os = "windows", target_arch = "x86_64" ))']
|
||||||
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-Windows-x86_64-v{ version }{ archive-suffix }"
|
||||||
|
|
||||||
|
[package.metadata.binstall.overrides.'cfg(all(target_os = "windows", target_arch = "aarch64" ))']
|
||||||
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-Windows-arm-v{ version }{ archive-suffix }"
|
||||||
|
|||||||
Reference in New Issue
Block a user