Skip to content

Commit

Permalink
Merge branch 'latest' into net
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Jan 21, 2025
2 parents df599b9 + 2d412e8 commit ef84112
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ RUN cd /opt && \

# iproute
ARG IPROUTE2_GIT_URL="git://git.kernel.org/pub/scm/network/iproute2/iproute2.git"
ARG IPROUTE2_GIT_SHA="v6.12.0"
ARG IPROUTE2_GIT_SHA="v6.13.0"
RUN cd /opt && \
git clone "${IPROUTE2_GIT_URL}" iproute2 && \
cd iproute2 && \
Expand Down
19 changes: 16 additions & 3 deletions sync_push.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
#! /bin/bash

git checkout latest
STASHED=0

if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
echo "There are modified files that might be wiped during the update. Stashing them."
git stash
STASHED=1
fi

git switch latest
git push

git checkout net
git switch net
git merge --signoff --no-edit latest
git push

git checkout latest
git switch latest

if [ ${STASHED} -eq 1 ]; then
echo "Unstashing modifications from before the update."
git stash pop
fi

0 comments on commit ef84112

Please sign in to comment.