mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-10-21 19:44:39 +00:00
robot: Add version to goreleaser (#1252)
* Add version to goreleaser Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * do not remove github token Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * include version in dist target Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * Add missing flag to pass the version Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> --------- Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
@@ -143,7 +143,9 @@ dist:
|
|||||||
RUN luet install -y utils/goreleaser
|
RUN luet install -y utils/goreleaser
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN goreleaser build --rm-dist --skip-validate --snapshot
|
COPY +version/VERSION ./
|
||||||
|
RUN echo $(cat VERSION)
|
||||||
|
RUN VERSION=$(cat VERSION) goreleaser build --rm-dist --skip-validate --snapshot
|
||||||
SAVE ARTIFACT /build/dist/* AS LOCAL dist/
|
SAVE ARTIFACT /build/dist/* AS LOCAL dist/
|
||||||
|
|
||||||
golint:
|
golint:
|
||||||
|
Reference in New Issue
Block a user