fix an error in the script, add deploy prereqs to readme
This commit is contained in:
parent
331e9c757c
commit
fb2fbb5f5c
|
@ -107,6 +107,11 @@ const response = await apiFetch( {
|
||||||
|
|
||||||
### Deploying
|
### 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:
|
You can create a test ZIP of the plugin using this command:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -5,12 +5,6 @@ if ! [ -x "$(command -v hub)" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $1 == '' || $2 == '' ]]
|
|
||||||
then
|
|
||||||
output 1 "Please supply a tag and zip file name"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Releasing to GitHub"
|
echo "Releasing to GitHub"
|
||||||
echo "==================="
|
echo "==================="
|
||||||
echo "Before proceeding:"
|
echo "Before proceeding:"
|
||||||
|
|
Loading…
Reference in New Issue