OpenDTU icon indicating copy to clipboard operation
OpenDTU copied to clipboard

Automatically create "Releases"

Open diecknet opened this issue 3 years ago • 1 comments

Hello, as suggested in #403: I propose to use the GitHub "Releases" feature to provide the built .bin files in a more visible way. In summary this PR does the following:

  • release-tag is generated as a step (format: build-<short-commitid> fetched by running git rev-parse --short)

  • automatically tag every commit to the repo by running git tag and git push

  • Removes the previously enforced manual usage of tag for release job

I tested it in a fork of the repo, works well so far. Anyway if you have suggestions for improvement before merging, let me know :)

Screenshot of forked repo with releases

diecknet avatar Dec 09 '22 23:12 diecknet

Let me know, if you're interested in merging this PR. If so, I will happily update the PR.

diecknet avatar Jan 22 '23 16:01 diecknet

Great this has some potential (auto updates and way more)

3DJupp avatar Feb 16 '23 22:02 3DJupp

Great idea, but I would add an ISO timestamp to the tag for readability and for the less experienced users.

CONSULitAS avatar Feb 16 '23 23:02 CONSULitAS

I updated the PR to resolve the merge conflicts. I also adjusted the Release Tag to include the build date.

diecknet avatar Feb 19 '23 13:02 diecknet

Would love to see this added. Just a little bit more convenient

ValleBL avatar Mar 09 '23 08:03 ValleBL

I am going to close this PR. In the end it's better to generate the tags manually to have a chance to generate nightly builds or test builds if required..

tbnobody avatar Apr 06 '23 20:04 tbnobody

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

github-actions[bot] avatar Apr 06 '24 04:04 github-actions[bot]