woocommerce/bin
Rodrigo Primo 6e61398c83 Fix pre-push hook used by husky
The pre-push hook uses sh but contained syntax that is only supported by
bash. `=` in sh should be used instead of `==` to check for string
equality. Before this change, we were getting the following error when
pushing to any branch:

```
git push
husky > pre-push (node v10.22.1)
./bin/pre-push.sh: 7: [: refs/heads/master: unexpected operator
```

This error didn't block the push, but meant that the message asking
developers to confirm if they wanted to push to master was never
displayed. This problem was introduced in commit
8c25557bf5 added in PR #27028.
2020-09-23 10:42:23 -03:00
..
build-zip.sh Improved bin/build-zip.sh script to move zip file to root 2020-08-12 16:51:56 -03:00
contributors.sh Moved the contributors script from Grunt to bash. 2020-05-11 11:00:42 +02:00
package-update-textdomain.js Included wp_set_script_translations in the list of functions to update domain in. 2020-02-04 15:46:26 +01:00
package-update.sh Translate wc admin domain also in Blocks package. 2020-06-04 12:39:26 +02:00
post-merge.sh Fix post-merge.sh exit status in some cases 2020-09-18 15:46:58 -03:00
pre-push.sh Fix pre-push hook used by husky 2020-09-23 10:42:23 -03:00