A workflow without subtree split
See original GitHub issueWhat if we used a config JSON at the root of the repository that contained the path to the package.json
file, so that we no longer need it to be at the root of the repository?
Then after cloning, we can simply use the folder containing the package.json as the UPM package.
This way we wouldn’t need to maintain a separate branch just for UPM releases.
What do you think? Is this feasible, or even possible?
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
git - Are subtrees the workflow I am looking for?
Just sharing my experience from a very small team perspective. Our production and test environment are on the same main branch but separate...
Read more >Mastering Git subtrees
With subtrees, there are no nested repos: there's only one repo, the container, just like a regular codebase. That means just one lifecycle,...
Read more >Git workflows and subtrees
How can subtrees effectively be used to share code between repositories, without having to delete and recreate them every time you merge ...
Read more >Add GitHub workflows for subtree splits to make ...
Problem/Motivation We have subtree splits of Drupal core on GitHub for Packagist while development happens in a monorepo on Drupal.org.
Read more >Git Subtree: Alternative to Git Submodule
Git Subtree is an extension to Git that allows you to split up large projects into smaller ones. It's like a virtual repository...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry my late reply.
git-upm-publisher is a good idea. 😃 I am delighted to be able to release it on the command line. Currently, I am working on automatic release support via semantic-release. It generates a changelog, publishes it to any npm registry (option), and updates the upm branch.
Aside from that, I came up with a way to install subdirectory packages. It is not yet ready for release, but it may fulfill your wishes. 😃
@starikcetin I use this: https://www.npmjs.com/package/git-snapshot
I want a simpler release workflow…
npm run release