dune-release icon indicating copy to clipboard operation
dune-release copied to clipboard

Improve documentation on usage

Open davesnx opened this issue 1 year ago • 4 comments

I need to check the steps on this gist in order to publish a package properly.

Could this be part of the repo/documentation?

davesnx avatar Feb 29 '24 10:02 davesnx

Steps 4, 5 and 6 from this gist are just dune-release, so basically:

  • optional: integrate dune-release lint to your CI
  • dune-release tag x.y.z
  • dune-release

gpetiot avatar Mar 19 '24 08:03 gpetiot

For the happy path, sure dune-release works out of the box, but I haven't had a single run succeeding at it, and I found a few error states:

  • bad github token (+ really bad error message and where to setup it)
  • it didn't consider changelog
  • failed at dirty repo
  • failed when tag is already pushed
  • missing git modules

So, the guide I'm thinking is to handle all of those steps and explain those quirks we have been facing into a guide

davesnx avatar Mar 19 '24 09:03 davesnx

Also would be good to explain how to get the token and what permissions the token needs.

yawaramin avatar Apr 08 '25 16:04 yawaramin

I second the request to explain the GitHub token and the required permissions into more prominent places of the online help.

lindig avatar Nov 15 '25 17:11 lindig