source tar archive is missing 'RELEASE' file

Due to our own build system I wanted to build syncthing from source by downloading the tar.gz archive from github.: https://github.com/syncthing/syncthing/archive/v${PKGVERSION}.tar.gz

My build now calls itself “unknown-dev” because there is no RELEASE file in the archive. And since it’s not git getGitVersion() also fails.

Is it possible to add the RELEASE file to the archives ?

No. That archive is generated by GitHub, and there’s no way to control what it contains.

Grab the archive which is published as part of the release process instead: https://github.com/syncthing/syncthing/releases/download/v${PKGVERSION}/syncthing-source-v${PKGVERSION}.tar.gz . Bonus: that one’s got a signature you can verify.

1 Like

aaah… cool. thanks! works perfectly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.