mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-10-20 10:38:34 +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
|
||||
WORKDIR /build
|
||||
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/
|
||||
|
||||
golint:
|
||||
|
Reference in New Issue
Block a user