SteamCAD icon indicating copy to clipboard operation
SteamCAD copied to clipboard

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

Open ghost opened this issue 6 years ago • 5 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)?

  • https://github.com/Symbian9/SteamCAD/releases/tag/continuous

Please, check Semantic Versioning guide

  • https://semver.org

ghost avatar Nov 18 '18 13:11 ghost

Will try it after fixing the dimension precision limit.

oskardolch avatar Nov 19 '18 14:11 oskardolch

  • https://github.com/oskardolch/SteamCAD/releases/tag/continuous

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).

  • https://github.com/oskardolch/SteamCAD/releases/tag/v1.1.0

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

Here is how releases should look:

  • https://github.com/symbian9/azpainter/releases

pic.2

ghost avatar Nov 21 '18 19:11 ghost

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.

oskardolch avatar Nov 21 '18 22:11 oskardolch

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)

  • https://github.com/oskardolch/SteamCAD/tree/builds

For example, look inside branches of microMathematics repo

  • https://github.com/mkulesh/microMathematics/branches

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!).

ghost avatar Nov 21 '18 23:11 ghost

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.

oskardolch avatar Nov 22 '18 00:11 oskardolch