components-template/automation_tools/update_from_upstream.sh
2024-11-05 11:36:57 +09:00

7 lines
277 B
Bash
Executable file

#!/bin/bash
$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
git merge FETCH_HEAD # Merge the fetched changes into your current branch