ci: use TinyGo version in artifact files

This avoids needing to rename them ourselves (which is kinda annoying)
and also avoids mistakes in the process.
This commit is contained in:
Ayke van Laethem
2024-10-26 10:39:18 +02:00
committed by Ayke
parent 860697257b
commit b7d91e2f33
4 changed files with 47 additions and 26 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Extract the version string from the source code, to be stored in a variable.
grep 'const version' goenv/version.go | sed 's/^const version = "\(.*\)"$/version=\1/g'