arduino / rp2040tools

Repository from Github https://github.comarduino/rp2040toolsRepository from Github https://github.comarduino/rp2040tools

The version is not added correctly

umbynos opened this issue · comments

Apparently, the ${GITHUB_REF##*/} variable is not expanded correctly in the release CI. This bug has been introduced in #4

./rp2040load -v
rp2040load ${GITHUB_REF##*/} - compiled with go1.16.2

I think it is caused by the environment variable having been wrapped in single quotes:

run: go build -ldflags '-X main.version=${GITHUB_REF##*/}'