add --version command to check the version
Opened this issue · 4 comments
Envoy49 commented
add --version command to check the version
Envoy49 commented
adding --version flag does work on local environment but it doesn't work after build.
Key points:
var version = os.Getenv("VERSION")
in the main.go
and Get the version
step in the release.yml
file
- name: Get the version
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
If anybody knows what I am missing please let me know.
Envoy49 commented
Trying uppercase variable
Envoy49 commented
Something is missing the release.yml will work on another more important issue with Episodes meanwhile