Giter Club home page Giter Club logo

Comments (8)

Jasstkn avatar Jasstkn commented on July 20, 2024

I've checked source code and found variable GITLAB_API_ENDPOINT.

from gitlab-release-note-generator.

jk1z avatar jk1z commented on July 20, 2024

Hi Jasstkn,
Thanks for trying out my tool 😋. Let me know how it goes. Happy to answer any questions.

from gitlab-release-note-generator.

Jasstkn avatar Jasstkn commented on July 20, 2024

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

from gitlab-release-note-generator.

jk1z avatar jk1z commented on July 20, 2024

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

from gitlab-release-note-generator.

jk1z avatar jk1z commented on July 20, 2024

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)

from gitlab-release-note-generator.

Jasstkn avatar Jasstkn commented on July 20, 2024

I'm using dockerized version of your tool. So, apparently I need to implement this as part of GitlabCI.

from gitlab-release-note-generator.

jk1z avatar jk1z commented on July 20, 2024

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.

  1. npm version prerelease (assuming you are releasing on develop) <-- that commits a commit and a tag locally
  2. Push the commit and tag to the origin.
  3. Run the dockerized version of the tool

from gitlab-release-note-generator.

Jasstkn avatar Jasstkn commented on July 20, 2024

@jk1z Got it and I'm almost done with gitlabCI. Do you have an example of Release Notes with using labels which you mentioned in README? I didn't find it in your gitlab example. I'm interested in customise Release Notes with sections.

from gitlab-release-note-generator.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.