micro-editor / micro-editor/micro

[Ubuntu 20.04] micro --version returns `Version: 0.0.0-unknown`

Open
#2,424 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

Hi, I recently switched to Ubuntu and tried to install micro with apt-get.
It installs micro and works just fine, however, when I try to check for the version, it says Version: 0.0.0-unknown.

I think there is a similar issue on Debian (https://github.com/zyedidia/micro/issues/1582) but I am not sure how to fix it on Ubuntu, sorry!

Specifications

Commit hash:
OS: Ubuntu
Terminal: Default

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report by installing micro with apt-get on Ubuntu 20.04 and running micro --version; use the reported commit hash, if available, to compare the binaries. Done means the apt-installed binary reports its actual version instead of 0.0.0-unknown, with a regression check for the version output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, ubuntu
Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.