oskardolch / SteamCAD

2D CAD especially designed to draw steam locomotives

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move binary files to "Releases" section as "Assets"

opened this issue · comments

Need move Windows binary (SteamCADbinWin32.zip, SteamCADbinWin64.zip) and PDF (SteamCAD.pdf) from master sources to "Releases" section as "Assets".

What about program versioning (i.e., tagging)?

Please, check Semantic Versioning guide

Will try it after fixing the dimension precision limit.

pic.1

@oskardolch, you did release of version v1.1.0 in wrong way... and Windows binary (SteamCADbinWin32.zip, SteamCADbinWin64.zip) and PDF (SteamCAD.pdf) NOT moved from master sources to "Releases" section as "Assets" but instead just copied...

For each release you should create new release tag. For example, for SteamCAD version 1.1.0 you should create release with tag v1.1.0 (and DON'T use continuous tag for releases, please).

Also, continuous tag should be used only for deployment auto-builds from Travis CI.

Here is how releases should look:

pic.2

OK, I reverted it back. I am sorry but I cannot find a way how to "move the mentioned files to Releases as assets". The only I can figure out is to delete the files from the git and upload them to each new release, which seems to be the only viable option, since the files must be manually rebuilt (by me at the moment) every time something changes. But if you know a better way, please advise.

The only I can figure out is to delete the files from the git and upload them to each new release, which seems to be the only viable option

You should at least delete binary files from master branch, but you could temporary upload them (Windows builds & PDF) into another branch (i.e., builds or dev branch)

For example, look inside branches of microMathematics repo

Later I will find solution on automatic uploading binaries from builds branch to releases as asset.

Also, need learn how Travis CI could be used for Windows builds (spoiler: it's possible!).

OK, I'll have a look. I may not be available till the end of this week, so don't get in a panic when I don't answer :-) I have added few docs files, the build instructions, contributions and translation instructions, so you may have a look at them and make comments meanwhile.