summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Davis2023-03-31 19:02:53 +0000
committerBlaž Hrastnik2023-04-03 01:54:57 +0000
commit38b9bdf871d406df8e9a3f1ed8c34dae992c184e (patch)
treeb7715cb4f6d1cf3fa40f40675ba80ac7de0c1194
parent6bfc3097412e54563f7bd6a6ff5fce5b4d9577e1 (diff)
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-*'.
-rw-r--r--.github/workflows/release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b26daca8..b509ff9e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -255,7 +255,7 @@ jobs:
exe=".exe"
fi
pkgname=helix-$GITHUB_REF_NAME-$platform
- mkdir $pkgname
+ mkdir -p $pkgname
cp $source/LICENSE $source/README.md $pkgname
mkdir $pkgname/contrib
cp -r $source/contrib/completion $pkgname/contrib