3 Commits

Author SHA1 Message Date
alice pellerin 150ff05048 fix version 2026-05-01 16:49:21 -05:00
alice pellerin 4f283ca983 fix cargo binstall pkg urls, add more platforms to CI 2026-05-01 16:46:58 -05:00
alice pellerin d7bdccfddb only let publish run on tags 2026-05-01 16:16:20 -05:00
4 changed files with 34 additions and 6 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ jobs:
- uses: actions/checkout@v6
- name: check version
# 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
id: auth
- run: cargo publish
+9 -3
View File
@@ -15,18 +15,24 @@ jobs:
strategy:
matrix:
info:
- os: "macOS"
- os: "macOS-arm"
runs-on: "macos-latest"
executable-extension: ""
- os: "linux-x86"
- os: "macOS-intel"
runs-on: "macos-26-intel"
executable-extension: ""
- os: "linux-x86_64"
runs-on: "ubuntu-latest"
executable-extension: ""
- os: "linux-arm"
runs-on: "ubuntu-24.04-arm"
executable-extension: ""
- os: "Windows"
- os: "Windows-x86_64"
runs-on: "windows-latest"
executable-extension: ".exe"
- os: "Windows-arm"
runs-on: "windows-11-arm"
executable-extension: ".exe"
steps:
- uses: actions/checkout@v6
- name: check version
Generated
+1 -1
View File
@@ -568,7 +568,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "hexapoda"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"clap",
"clap_complete",
+22 -1
View File
@@ -1,7 +1,7 @@
[package]
name = "hexapoda"
# 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"
repository = "https://github.com/simonomi/hexapoda"
keywords = ["cli", "tui", "hex", "tool", "editor"]
@@ -23,3 +23,24 @@ clap = { version = "4.6.0", features = ["derive"] }
clap_complete = "4.6.3"
clap_complete_nushell = "4.6.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 }"