source tar archive is missing 'RELEASE' file

(Peter Marquardt) #1

Due to our own build system I wanted to build syncthing from source by downloading the tar.gz archive from github.:${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 ?

(Antony Male) #2

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:${PKGVERSION}/syncthing-source-v${PKGVERSION}.tar.gz . Bonus: that one’s got a signature you can verify.

(Peter Marquardt) #3

aaah… cool. thanks! works perfectly.