Envoy49/go-spotify-cli

add --version command to check the version

Opened this issue · 4 comments

add --version command to check the version

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.

Trying uppercase variable

Something is missing the release.yml will work on another more important issue with Episodes meanwhile