Skip to content

Commit 3e91f0d

Browse files
authored
In the release action, use git rm to start fresh (#4677)
Maybe the push is failing with that error (see #4675) because we're simply deleting the files. Also, expand one option (`-A` to `--all`) for readability.
1 parent 3e758b8 commit 3e91f0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
rm -rf consensus-spec-tests
5757
git clone https://x-access-token:${{ secrets.CONSENSUS_SPEC_TESTS_PAT }}@github.com/ethereum/consensus-spec-tests.git --branch=master --single-branch --no-tags
5858
cd consensus-spec-tests
59-
rm -rf configs presets tests
59+
git rm -rf configs presets tests
6060
6161
# Write presets/configs to the spec tests repo
6262
- name: Copy presets/configs
@@ -86,7 +86,7 @@ jobs:
8686
cd consensus-spec-tests
8787
git config user.name "github-actions"
8888
git config user.email "[email protected]"
89-
git add -A
89+
git add --all
9090
if ! git diff --cached --quiet; then
9191
git commit -m "release ${{ github.ref_name }} tests"
9292
git push origin HEAD:refs/heads/master

0 commit comments

Comments
 (0)