tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
2.95k stars 467 forks source link

Missing version info #1045

Closed martnst closed 6 months ago

martnst commented 7 months ago

Describe the bug Since version 2.x the version, commit & date is n/a.

To Reproduce

$ docker run  tusproject/tusd:latest -version
Version: n/a
Commit: n/a
Date: n/a
$ docker run  tusproject/tusd:v2 -version
Version: n/a
Commit: n/a
Date: n/a

Expected behavior

$ docker run  tusproject/tusd:v1 -version   
Version: v1.13.0
Commit: a1e1fdfbd78d50df108e98c2ad5a6b6477ece3ff
Date: Wed Sep  6 09:16:45 UTC 2023
Acconut commented 6 months ago

Thanks for the report. This should be fixed in the latest release: https://github.com/tus/tusd/releases/tag/v2.2.1 Please try it out and let me know if it still does not work.

martnst commented 6 months ago

Works. 👍

docker run tusproject/tusd:v2.2.1 -version
Unable to find image 'tusproject/tusd:v2.2.1' locally
v2.2.1: Pulling from tusproject/tusd
2c03dbb20264: Pull complete 
3e6612a7e743: Pull complete 
d7ce2d532638: Pull complete 
099fed0c4ef1: Pull complete 
e9757af502e9: Pull complete 
0973ca5500b4: Pull complete 
Digest: sha256:1e2fc9814a45140dd85a4c923cba4f4f37f4f5b978820310f5a357acd1176b59
Status: Downloaded newer image for tusproject/tusd:v2.2.1
Version: v2.2.1
Commit: f03aa9b4ddd69cf83c1fa3f74f1172c179be7bdc
Date: Wed Dec 13 10:00:28 UTC 2023