Open
Description
I'm experiencing an issue where basic commands are not found when executing from within my shell script. Rsync and ZIP namely
#!/bin/sh
if [ $# -eq 0 ]
then
echo "No arguments supplied"
exit
fi
...
Environment variables
...
echo "Syncing files..."
rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
echo "Generating zip file..."
cd "$BUILD_PATH" || exit
zip -q -r "${SLUG}.zip" "$SLUG/"
module.exports = {
tagFormat: "${version}",
branch: "master",
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/npm", {
npmPublish: false
}],
["@semantic-release/exec", {
"publishCmd": "chmod +x ./bin/build-zip.sh && ./bin/build-zip.sh ${nextRelease.version}"
}],
["@semantic-release/github", {
"assets": [
{"path": "build/build.zip", "label": "Bundle"}
]
}]
]
};
Is this perhaps a directory or permissions issue?
Metadata
Metadata
Assignees
Labels
No labels