0
0
forked from blender/blender
blender/build_files/utils
Sergey Sharybin d1254519ad Fix make update for upstream workflow and missing branch in submodule
Fix the issue when upstream workflow is used and the addons fork does
not yet have the release branch. In this case create a local branch
which is based on the upstream/<branch> but does not track anything.

Typically with such workflow the local branches will track origin, but
since the origin does not have the branch yet it is not possible to
track it.

Test plan:
- Use upstream workflow
- Have a fork of addons, which does not have blender-v3.6-release
- Run make update

The error message:
```
Updating scripts/addons ...
git fetch origin
git fetch upstream
git checkout -t origin/blender-v3.6-release
fatal: 'origin/blender-v3.6-release' is not a commit and a branch 'blender-v3.6-release' cannot be created from it
make: *** [update] Error 128
```

Pull Request: blender/blender#108197
2023-05-23 17:49:43 +02:00
..
make_bpy_wheel.py Docs: change Git URLs to point projects.blender.org instead of git.blender.org 2023-02-07 14:23:05 +01:00
make_source_archive.py Fix missing assets in the source archive 2023-04-05 09:27:42 +02:00
make_test.py Cleanup: quiet mypy type checking warnings 2023-01-31 14:22:24 +11:00
make_update.py Fix make update for upstream workflow and missing branch in submodule 2023-05-23 17:49:43 +02:00
make_utils.py Fix make update for upstream workflow and missing branch in submodule 2023-05-23 17:49:43 +02:00
README.md Add and update README.md files for CI script removal 2021-05-28 19:46:53 +02:00

Make Utility Scripts

Scripts used only by developers for now