components-template/automation_tools/update_from_upstream.sh

7 lines
277 B
Bash
Raw Permalink Normal View History

2024-11-05 02:07:08 +00:00
#!/bin/bash
2024-11-05 02:36:57 +00:00
$UPSTREAM_REPO='com.something.else'
$TARGET_BRANCH='master'
git fetch https://github.com/flathub/"$UPSTREAM_REPO" "$TARGET_BRANCH" # Fetch the latest changes from the remote master branch
2024-11-05 02:07:08 +00:00
git merge FETCH_HEAD # Merge the fetched changes into your current branch