Crystal: Wrong version inside alpine images for 0.33.0

Created on 18 Feb 2020  路  6Comments  路  Source: crystal-lang/crystal

:warning: The 0.33.0 alpine images report version 0.32.1 :warning:

  • docker run --rm -it crystallang/crystal:0.33.0-alpine-build crystal --version
Crystal 0.32.1 [41bd18fbe] (2019-12-18)

LLVM: 8.0.0
Default target: x86_64-unknown-linux-musl
  • docker run --rm -it crystallang/crystal:0.33.0-alpine crystal --version
Crystal 0.32.1 [41bd18fbe] (2019-12-18)

LLVM: 8.0.0
Default target: x86_64-unknown-linux-musl

:heavy_check_mark: The non alpine one reports the right version. :heavy_check_mark:

  • docker run --rm -it crystallang/crystal:0.33.0 crystal --version
Crystal 0.33.0 [612825a53] (2020-02-14)

LLVM: 8.0.0
Default target: x86_64-unknown-linux-gnu
bug infrastructure

Most helpful comment

The ubuntu images have those validation. The alpine images are new and there are no steps in the crystal-dist repo yet, so, I manually do those steps for this first version.

All 6 comments

Thanks for reporting. I've just updated the 0.33.0-alpine and latest-alpine docker images.

Any idea why it was wrongly tagged?

Because the target in the makefile to copy the tar.gz is not phony, or because I didn鈥檛 do a make clean. :-)

I already update the release checklist with that info.

Tried them out again and the versions are correct, thaks for the fix! 馃憤

Should we add some kind of validation for this? For example verify that crystal --version contains the version part of the docker tag before publishing the image.

The ubuntu images have those validation. The alpine images are new and there are no steps in the crystal-dist repo yet, so, I manually do those steps for this first version.

Was this page helpful?
0 / 5 - 0 ratings