Use API to fetch VERSION files from dev
Since we are fetching files from dev for security releases, direct links will no longer work (we deprecated using PAT for that for private projects). The recommended way is to use API for accessing files.
PS: All of this will become obsolete once https://gitlab.com/charts/gitlab/issues/1230 is implemented