Skip to content

release binary naming #464

Description

@AndreiCherniaev

For some releases strange naming is used. So many utility like binup can't download ART. I suggest to change. Reference design here.

  1. For AppImage you prefer x86_64 but why you use x64 for others? Let's use x86_64 for all?
  2. linux64 is weird, use -x64 or -x86_64. I like x86_64 because it is what uname -m received, but both is ok
    ART-1.26.3-linux64.tar.xz -> ART-1.26.3-linux-x64.tar.xz
  3. For windows you should not use several styles: Win64 vs Windows.
  4. Why you use "_" for windows and for macos but "-" for Linux? Use one style like in reference design!
    ART_1.26.3_Win64.exe -> ART-1.26.3-windows.exe
    ART_1.26.3_Win64_portable.7z -> ART-1.26.3-windows-portable.7z
    ART_1.26.3_Windows_arm64.exe -> ART-1.26.3-windows-arm64.exe
    ART_1.26.3_Windows_arm64_portable.7z -> ART-1.26.3-windows-arm64-portable.7z
  5. What about archiving exe to zip or 7z like in reference design?
  6. ART-1.26.3.tar.xz - what is it? Is it source code? But github automatically add source code to each release: Source code (zip), Source code (tar.gz) - is it not enough? I suggest to drop "ART-1.26.3.tar.xz"
  7. I suggest to use macos instead of macOS and "-" instead of "_" like in reference design:
    ART-1.26.3_macOS-14.8_arm64.dmg -> ART-1.26.3-macos-14.8_arm64.dmg
    ART-1.26.3_macOS-15.7_x64.dmg -> ART-1.26.3-macos-15.7_x64.dmg

This is what binup see for now

$ binup -v install -p artraweditor/ART
[21:27:19.591] [   tool.rs:077] D: Checking "/home/q/.local/bin/ART"...
[21:27:19.591] [ github.rs:053] D: Getting artraweditor/ART release info (allow prerelease: false)...
[21:27:19.935] [install.rs:125] D: The latest release is 1.26.3:
[21:27:19.935] [install.rs:127] D: * ART-1.26.3-aarch64.AppImage
[21:27:19.935] [install.rs:127] D: * ART-1.26.3-linux-aarch64.tar.xz
[21:27:19.935] [install.rs:127] D: * ART-1.26.3-linux64.tar.xz
[21:27:19.935] [install.rs:127] D: * ART-1.26.3-x86_64.AppImage
[21:27:19.935] [install.rs:127] D: * ART-1.26.3.tar.xz
[21:27:19.935] [install.rs:127] D: * ART-1.26.3_macOS-14.8_arm64.dmg
[21:27:19.935] [install.rs:127] D: * ART-1.26.3_macOS-15.7_x64.dmg
[21:27:19.935] [install.rs:127] D: * ART_1.26.3_Win64.exe
[21:27:19.935] [install.rs:127] D: * ART_1.26.3_Win64_portable.7z
[21:27:19.935] [install.rs:127] D: * ART_1.26.3_Windows_arm64.exe
[21:27:19.935] [install.rs:127] D: * ART_1.26.3_Windows_arm64_portable.7z
[21:27:19.937] [release.rs:070] D: No assets match `~^ART(?:[-._][^/]+)?[-._](?:linux[-_](?:amd64|x64|x86_64)|(?:amd64|x64|x86_64)[-_]linux)(?:[-._][^/]+)?\.(?:tar\.[^/.]+|zip)$` automatic release matcher.
[21:27:19.937] [release.rs:070] D: No assets match `~^ART[-._](?:linux[-_](?:amd64|x64|x86_64)|(?:amd64|x64|x86_64)[-_]linux)(?:\.(?:bz2|gz|lz|lz4|lzma|lzo|xz|z|zst))?$` automatic release matcher.
[21:27:19.937] [release.rs:070] D: No assets match `~[-._](?:linux[-_](?:amd64|x64|x86_64)|(?:amd64|x64|x86_64)[-_]linux)(?:[-._][^/]+)?\.(?:tar\.[^/.]+|zip)$` automatic release matcher.
[21:27:19.938] [release.rs:070] D: No assets match `~^ART[-._](?:amd64|x64|x86_64)(?:\.(?:bz2|gz|lz|lz4|lzma|lzo|xz|z|zst))?$` automatic release matcher.
[21:27:19.938] [release.rs:070] D: No assets match `~^ART(?:\.(?:bz2|gz|lz|lz4|lzma|lzo|xz|z|zst))?$` automatic release matcher.
[21:27:19.938] [   main.rs:049] E: Unable to automatically choose the proper release from the following assets:
* ART-1.26.3-aarch64.AppImage
* ART-1.26.3-linux-aarch64.tar.xz
* ART-1.26.3-linux64.tar.xz
* ART-1.26.3-x86_64.AppImage
* ART-1.26.3.tar.xz
* ART-1.26.3_macOS-14.8_arm64.dmg
* ART-1.26.3_macOS-15.7_x64.dmg
* ART_1.26.3_Win64.exe
* ART_1.26.3_Win64_portable.7z
* ART_1.26.3_Windows_arm64.exe
* ART_1.26.3_Windows_arm64_portable.7z

Release matcher should be specifed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions