File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -185,19 +185,23 @@ jobs:
185
185
merge -Xsubtree=library subtree/library; then
186
186
echo "MERGE_CONFLICTS=yes" >> $GITHUB_ENV
187
187
for d in $(cat ../submodule-heads | cut -f2 -d" ") ; do git reset HEAD $d ; done
188
- git submodule foreach 'grep $sm_path $toplevel/../submodule-heads | cut -f1 -d" " | xargs git checkout'
189
188
git -c user.name=gitbot -c user.email=git@bot commit -a -m "Merge from $NEXT_COMMIT_HASH with conflicts"
190
189
else
191
190
echo "MERGE_CONFLICTS=no" >> $GITHUB_ENV
192
- git submodule foreach 'grep $sm_path $toplevel/../submodule-heads | cut -f1 -d" " | xargs git checkout'
193
- git -c user.name=gitbot -c user.email=git@bot \
194
- commit -m "Update submodules" library/
195
191
fi
196
192
git replace -d subtree/library
197
193
git replace -d main~1
198
194
NEW_SUBTREE_HEAD=$(git rev-parse subtree/library)
199
195
echo "NEW_SUBTREE_HEAD=${NEW_SUBTREE_HEAD}" >> $GITHUB_ENV
200
196
197
+ set -vx
198
+ cat ../submodule-heads
199
+ git submodule status
200
+ git submodule foreach 'grep $sm_path $toplevel/../submodule-heads | cut -f1 -d" " | xargs git checkout'
201
+ git submodule status
202
+ git -c user.name=gitbot -c user.email=git@bot \
203
+ commit -m "Update submodules" library/
204
+
201
205
sed -i "s/^channel = \"nightly-.*\"/channel = \"nightly-${NEXT_TOOLCHAIN_DATE}\"/" rust-toolchain.toml
202
206
git -c user.name=gitbot -c user.email=git@bot \
203
207
commit -m "Update toolchain to ${NEXT_TOOLCHAIN_DATE}" rust-toolchain.toml
You can’t perform that action at this time.
0 commit comments