mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 00:42:34 -04:00
Framework: properly ensure stable with upstream set
This commit is contained in:
parent
a613e78cc6
commit
6e406f0694
1 changed files with 2 additions and 0 deletions
|
|
@ -91,6 +91,8 @@ ${_TARGET}_ARG= ${${_TARGET}_ARGS:[0]}
|
|||
ensure-stable:
|
||||
@if ! git show-ref --verify --quiet refs/heads/stable/${PLUGIN_ABI}; then \
|
||||
git update-ref refs/heads/stable/${PLUGIN_ABI} refs/remotes/origin/stable/${PLUGIN_ABI}; \
|
||||
git config branch.stable/${PLUGIN_ABI}.merge refs/heads/stable/${PLUGIN_ABI}; \
|
||||
git config branch.stable/${PLUGIN_ABI}.remote origin; \
|
||||
fi
|
||||
|
||||
diff: ensure-stable
|
||||
|
|
|
|||
Loading…
Reference in a new issue