fix an error in the script, add deploy prereqs to readme

This commit is contained in:
Rebecca Scott 2021-03-30 10:37:20 +10:00
parent 331e9c757c
commit fb2fbb5f5c
2 changed files with 5 additions and 6 deletions

View File

@ -107,6 +107,11 @@ const response = await apiFetch( {
### Deploying
Prerequisites:
- [Hub](https://github.com/github/hub)
- Write access to this repository
You can create a test ZIP of the plugin using this command:
```

6
bin/release-to-github.sh Normal file → Executable file
View File

@ -5,12 +5,6 @@ if ! [ -x "$(command -v hub)" ]; then
exit 1
fi
if [[ $1 == '' || $2 == '' ]]
then
output 1 "Please supply a tag and zip file name"
exit 1
fi
echo "Releasing to GitHub"
echo "==================="
echo "Before proceeding:"