fix(build): Allow update-apps.sh script to work with non-master branches#47351
fix(build): Allow update-apps.sh script to work with non-master branches#47351
Conversation
Signed-off-by: provokateurin <kate@provokateurin.de>
|
Fails with sh: Fails with french locale: (because |
Expected to fail, the shebang clearly says it needs bash.
Ugh I didn't know and think about that. Not sure how to make that work. I tried a few alternatives, but none of them worked for me at all. |
|
For the later we could do a stupid |
I think in that script just |
|
@come-nc can you try that and if it works make a PR? |
Instead of using export the env variable could just be applied to the git command that is problematic. |
Sure this also works :) |
|
Yeah it would be weird to do that, but you mentioned it so we can also just prevent it :D |
Summary
The script only worked for apps which use master as their main branch.
This change also makes the script easier to read and also catch errors properly.
Checklist