Closed JacobDB closed 5 years ago
Honestly not sure if this is the best solution for this, I'm open to suggestions.
Found this related issue on GitLab's tracker, will try to get some attention to it – https://gitlab.com/gitlab-org/gitlab-ce/issues/43877
Hi @JacobDB, on the next version we are going to have support for --git-template
and --git-branch
, so you will be able to use something like:
chan release <version> --git-template 'https://git.example.com/weblinx/my-repository/compare/[prev]...[next] --git-branch master
Awesome; will there be a way to do this automatically via some kind of config? Maybe something like a .chanrc
?
Oh I see, will likely be configurable via the package.json
If you want, you can try the next version: npm install -g @geut/chan@beta
feedback is welcome :smiley:
The next doc is here: https://github.com/geut/chan/tree/v2.0.0-beta/packages/chan
Looks like this works in the beta channel, closing 🙂
We use a self hosted instance of GitLab at my office, and as such, the URLs that get generated by chan don't adhere to the URL structure required by GitLab.
For example, chan might output a URL like:
But my server actually requires:
Being able to pass in something like
--compare master
(preferably also via config file) would solve this.