Coder Social home page Coder Social logo

Comments (5)

zivkaziv avatar zivkaziv commented on May 15, 2024 1

Hey @giltayar can I take this issue?

from bilt.

zivkaziv avatar zivkaziv commented on May 15, 2024

Do we have somewhere in the code the name of branch? or do we need to create some util for it?
I've found that this command can get us the name of the branch

const { exec } = require('child_process');
exec('git branch --show-current', (err, stdout, stderr) => {
    if (err) {
        // handle your error
    }
});

from bilt.

giltayar avatar giltayar commented on May 15, 2024

@zivkaziv currently we don't know or care about the branch name, so you'll need to figure it out (your method makes sense, except that you can use the @⁨bilt/scripting-commons package to exec out.)

from bilt.

zivkaziv avatar zivkaziv commented on May 15, 2024

Submitted PR #70
I hope I covered the issue:)

from bilt.

giltayar avatar giltayar commented on May 15, 2024

After my experience working with branches and bilt, it is now my conviction that the way Bilt figures out whether a package was built or not is wrong, and that currently the only way to use Bilt is to do trunk-based development without PRs.

So closing the issue till I figure out how to incorporate PR-based workflows into bilt.

from bilt.

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.