Comments (5)
Hey @giltayar can I take this issue?
from bilt.
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.
@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.
Submitted PR #70
I hope I covered the issue:)
from bilt.
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)
- Make a dependency depend on semver
- `bilt graph` to show the dependency graph of a monorepo
- Remove the `artifact-finder` package
- Improve look of site
- bilt --version shows "undefined" instead of the version HOT 2
- Adding the "build in branch" functionality directly into bilt HOT 1
- Support biltrc configuration in a `.bilt` directory
- Host our site at bilt.js.org
- Build a way to utilize the parallelization of jobs in Github actions to run built in parallel
- npm script 'develop-in-branch' not working on windows
- Add `web-snake` to sample-bilt-monorepo
- Make `console-snake` nicer in the sample-bilt-monorepo
- Enable pre* and post* phases for `before`, `during`, and `after`
- Create a CLI that generates a nice dependency graph HOT 1
- Use npm/yarn workspaces to enable working locally on a subset of the packages
- Python support HOT 1
- Add option to build --from
- Make the default when no package is specified be the current package
- Initial set of packages should not be built if they are already built
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bilt.