REF: some bash scripts

This commit is contained in:
Overtorment 2021-09-13 14:09:37 +01:00
parent aef1db8a8a
commit 068627fa7b
No known key found for this signature in database
GPG key ID: AB15F43F78CCBC06
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
if [[ "$OSTYPE" == "darwin"* ]]; then
if [ "$OSTYPE" = "darwin"* ]; then
echo "Running pod update..."
cd ios
pod install

View file

@ -1,6 +1,6 @@
#!/bin/sh
HEAD=`git rev-parse --abbrev-ref --symbolic-full-name HEAD`
if [ $HEAD == "master" ]
if [ "$HEAD" = "master" ]
then
TAG=`git tag | sort | tail -n 1`
else