Skip to content

./release.sh produces tags of different lengths, across certain hosts #854

@dstadulis

Description

@dstadulis

Background

Digest entries in the manifest file are produced here:

shasum -a 256 * >manifest-$tag.txt

Assigned from here:

local tag=$1

Called from here
https://github.com/lightninglabs/lightning-terminal/blob/43ac9fac94cd158e1b7c560555f2a7b565c307f9/Makefile#L164C30-L164C45

Defined here:
https://github.com/lightninglabs/lightning-terminal/blob/43ac9fac94cd158e1b7c560555f2a7b565c307f9/make/release_flags.mk#L1C23-L1C42

Issue

@ViktorTigerstrom produced a build with an extra character, a, at the end of the tag

lightning-terminal-darwin-amd64-v0.13.995-experimental-1-g8da6c29a

On two different hosts[1], after running

make release tag=v0.13.995-experimental

a build with tags without the a character, at the end of the tag are produced

lightning-terminal-darwin-amd64-v0.13.995-experimental-1-g8da6c29

[1] Hosts running:
git version 2.46.2
git version 2.30.2

Reproduce

  • Reproduce git tag with extra a character
  • Determine any differences in git describe has occurred between the git versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions