Revert syntax;Fix spacing
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eb207a5ba1
commit
8513d3d937
@ -15,7 +15,7 @@ steps:
|
||||
image: bv11-cr01.bessems.eu/proxy/alpine/curl
|
||||
commands:
|
||||
- |
|
||||
if [ $(curl -s -o /dev/null -w "%{http_code}" https://code.spamasaurus.com/api/v1/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION) != '200']; then
|
||||
if [[ $(curl -s -o /dev/null -w "%{http_code}" https://code.spamasaurus.com/api/v1/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION) -ne '200' ]]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user