diff options
author | Prajakta Purohit <prajakta@chef.io> | 2022-10-27 14:31:59 -0700 |
---|---|---|
committer | Prajakta Purohit <prajakta@chef.io> | 2022-10-27 14:31:59 -0700 |
commit | af9ca52ca936f09e22a3f6c85cdd0555adbb39ad (patch) | |
tree | c663055346c1a2f0763d3165c53e2fa40d471a0a | |
parent | d910edef1dcc3cf0c8b7d5670f30c79f085158e4 (diff) | |
download | chef-praj/fix_release.tar.gz |
Expeditor will fail of chef.wiki exists on the box. Pre-emptively delete it to avoid errors with the release.praj/fix_release
Signed-off-by: Prajakta Purohit <prajakta@chef.io>
-rwxr-xr-x | .expeditor/publish-release-notes.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.expeditor/publish-release-notes.sh b/.expeditor/publish-release-notes.sh index 6f5f232301..fa7eb21470 100755 --- a/.expeditor/publish-release-notes.sh +++ b/.expeditor/publish-release-notes.sh @@ -2,6 +2,9 @@ set -eou pipefail +# The expeditor process will error out if the wiki remains on the box for some reason. +# Pre-emptively delete it to avoid the error +rm -fr chef.wiki.git git clone https://x-access-token:${GITHUB_TOKEN}@github.com/chef/chef.wiki.git pushd ./chef.wiki |