Skip to content

Flag --version says "Task version: unknown" (pacman) #2150

@mattalxndr

Description

@mattalxndr

Description

Problem is, when I call the executable with the --version flag, I get weird output:

 % /usr/bin/go-task --version
Task version: unknown (8181352d)

Obviously, I'm expecting the version to be specified, like it has been in other builds, and like it is in the build provided by running the curl command I found on taskfile.dev Install page:

 % sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b ~/.local/bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9634  100  9634    0     0  22373      0 --:--:-- --:--:-- --:--:-- 22404
go-task/task info checking GitHub for latest tag
go-task/task debug http_download https://github.com/go-task/task/releases/latest
go-task/task info found version: 3.42.1 for v3.42.1/linux/amd64
go-task/task debug downloading files into /tmp/tmp.A8tQvEIIIL
[...]
go-task/task info installed /home/matt/.local/bin/task
 % /home/matt/.local/bin/task --version
Task version: v3.42.1 (h1:HOaFbZGLOrAy2V/dLsX2rGJZVG2Qx6268KUIAIXdNE4=)

Package was installed using pacman

 % sudo pacman -Qi go-task
Name            : go-task
Version         : 3.42.1-1
Description     : A task runner written in Go
Architecture    : x86_64
URL             : https://taskfile.dev
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : glibc
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 16.73 MiB
Packager        : George Rawlinson <[email protected]>
Build Date      : Fri 28 Mar 2025 04:12:19 PM CDT
Install Date    : Tue 01 Apr 2025 10:11:03 PM CDT
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

https://archlinux.org/packages/extra/x86_64/go-task/

Hash of file, for comparison, since we don't have version.

 % md5sum /usr/bin/go-task
d2d1f10ae35500469c397a5c69bd4306  /usr/bin/go-task

System

 % cat /proc/version
Linux version 6.13.8-arch1-1 (linux@archlinux) (gcc (GCC) 14.2.1 20250207, GNU ld (GNU Binutils) 2.44) #1 SMP PREEMPT_DYNAMIC Sun, 23 Mar 2025 17:17:30 +0000

Version

3.42.1-1 (says pacman -Q)

Operating system

Arch Linux

Experiments Enabled

No response


EDIT: In case the response is similar to #1889 (It's the pacman build's fault), I added an issue to the pacman tracker (needs auth):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions