Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Make release build cope with v prefixed tags #61

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Oct 3, 2019

As we want to publish our images without the v prefix, some
modifications have been made to the docker/image-tag helper script to
remove the v prefix from the calculated tag.

In addition, the amount of tags it returns has been limited to one, as
multiple tags will make the build fail due to

-ldflags "-X main.version=<tagA> <tagB>"

not being a valid argument.

@hiddeco hiddeco requested a review from stefanprodan October 3, 2019 12:21
@hiddeco hiddeco added the build About the build or test scaffolding label Oct 3, 2019
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiddeco hiddeco force-pushed the build/release-publishing branch 2 times, most recently from 187e101 to 79c9a7c Compare October 3, 2019 12:35
As we want to publish our images without the `v` prefix, some
modifications have been made to the `docker/image-tag` helper script to
remove the `v` prefix from the calculated tag.

In addition, the amount of tags it returns has been limited to one, as
multiple tags will make the build fail due to

`-ldflags "-X main.version=<tagA> <tagB>"`

not being a valid argument.
@hiddeco hiddeco force-pushed the build/release-publishing branch from 79c9a7c to 5ce58cc Compare October 3, 2019 12:43
@hiddeco hiddeco merged commit d38570a into master Oct 3, 2019
@hiddeco hiddeco deleted the build/release-publishing branch October 3, 2019 12:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build About the build or test scaffolding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants