Code Monkey home page Code Monkey logo

Comments (2)

HugoPoi avatar HugoPoi commented on September 21, 2024

I hit this hard because when I have seen this :

Recommended workflow

  1. Make changes
  2. Commit those changes
  3. Make sure GitLab CI turns green
  4. Bump version in package.json
  5. Commit package.json files
  6. Tag
  7. Push
  8. conventionalGitlabReleaser

Sounds really what I needed but for doing this workflow you need to tag for building the release in CI then publish my release in Gitlab with built assets.

from releaser-tools.

edmundo096 avatar edmundo096 commented on September 21, 2024

Got into the same thing.
I was looking on the recommended workflow but the releaser won't work if a tag already exists on the source repo.

Also discovered (after some confusion) that there is a recommended gist on the conventional-gitlab-releaser README that does exactly that, creates a tag with npm publish then pushes tags.

I realized it was fine, because the gist uses "conventional-github-releaser" (on line 27).
So the GitLab version method works different compared to the GitHub one.

Maybe instead of using

POST /projects/:id/repository/tags

we could use the releases API instead to create it

POST /projects/:id/releases

like the GitHub version repos/${context.owner}/${context.repository}/releases

from releaser-tools.

Related Issues (20)

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.