Add opportunity to override gitlab url to private
Jasstkn opened this issue · 8 comments
Hi. I would like to use your tool in private gitlab instance. Could you add variable for configure it in docker run command?
I've checked source code and found variable GITLAB_API_ENDPOINT.
Hi Jasstkn,
Thanks for trying out my tool 😋. Let me know how it goes. Happy to answer any questions.
@jk1z it works great! But I'm trying to understand it there a way to create tag from the latest commit in defined branch (develop/master) and generate release notes from previous one.
Assuming you are using npm version bump
. What I usually do is having a tag-after-deployment
job (see example in the reference project) in the CI which it will kick in after the version bump commit regardless of people pushed the tag or not. Then the
generate-release-note
job (see example in the reference project) in the CI will trigger upon tag creation to generate the release-note on that tag
Oh don't forget to use -e TARGET_TAG_REGEX
to distinguish between develop release commit and production release commit, it's important for generating the release note that is specific to branches. For development release regex I would use ^v[0-9]+.[0-9]+.[0-9]+(-[0-9]+)$
(e.g. v1.12.0-1), for production release regex I would use ^v[0-9]+.[0-9]+.[0-9]+$
(e.g v1.12.1)
I'm using dockerized version of your tool. So, apparently I need to implement this as part of GitlabCI.
I'm using dockerized version of your tool. So, apparently I need to implement this as part of GitlabCI.
It can be done locally as well, the steps ^ is just to automate the process. To run the dockerized version of the tool.
- npm version prerelease (assuming you are releasing on develop) <-- that commits a commit and a tag locally
- Push the commit and tag to the origin.
- Run the dockerized version of the tool