on master help sign in
Recursive create the pkgname directory when creating a release tarball

This step without the '-p' works fine for regular releases but it can fail if the CI is running when this file changes or on a branch matching 'patch/ci-release-*'.

commit38b9bdf871d406df8e9a3f1ed8c34dae992c184e authorMichael Davis <mcarsondavis@gmail.com> dateFri 31 Mar 2023, 14:02 (4 years ago) parent6bfc309
1 file changed+1−1
.github/workflows/release.yml+1−1
.github/workflows/release.yml+1−1
@@ -255,7 +255,7 @@ jobs:
255255 exe=".exe"
256256 fi
257257 pkgname=helix-$GITHUB_REF_NAME-$platform
258− mkdir $pkgname
258+ mkdir -p $pkgname
259259 cp $source/LICENSE $source/README.md $pkgname
260260 mkdir $pkgname/contrib
261261 cp -r $source/contrib/completion $pkgname/contrib