Fix some issues in scripts
- Always use bash for consistent script behavior - Replace deprecated set-output in GitHub workflows
This commit is contained in:
parent
c7a0a3e4b8
commit
9962401d74
|
@ -55,8 +55,8 @@ jobs:
|
|||
run: |
|
||||
VERSION=`ci/version-number.sh $PLATFORM`
|
||||
BUILD=`ci/build-number.sh $PLATFORM`
|
||||
echo "::set-output name=version::$VERSION"
|
||||
echo "::set-output name=build::$BUILD"
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
echo "build=$BUILD" >> $GITHUB_OUTPUT
|
||||
- name: Create keychain
|
||||
uses: ./.github/actions/create-keychain
|
||||
with:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
VERSION=$1
|
||||
|
||||
if [[ -z $VERSION ]]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
HOSTNAME=`echo $MATCH_GIT_URL | sed -E "s/^.*@(.*):.*$/\1/"`
|
||||
grep -q $HOSTNAME ~/.ssh/known_hosts
|
||||
if [[ $? != 0 ]]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
VERSION=$1
|
||||
if [[ -z $VERSION ]]; then
|
||||
echo "Must provide version"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
CURRENT_BRANCH=`git branch --show-current`
|
||||
if [[ $CURRENT_BRANCH != "master" ]]; then
|
||||
echo "Not on master branch"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
PLATFORM=$1
|
||||
if [[ -z $PLATFORM ]]; then
|
||||
echo "Platform required"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
PLATFORM=$1
|
||||
if [[ -z $PLATFORM ]]; then
|
||||
echo "Platform required"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
PLATFORM=$1
|
||||
if [[ -z $PLATFORM ]]; then
|
||||
echo "Platform required"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
PLATFORM=$1
|
||||
if [[ -z $PLATFORM ]]; then
|
||||
echo "Platform required"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
PATTERN="Passepartout/App/fastlane/ios/metadata/*/description.txt"
|
||||
AFTER=$1
|
||||
NAME=$2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
SIZES="120 152 167 180 76"
|
||||
|
||||
cd Passepartout/App/Assets.xcassets/AppIcon.appiconset
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
APP_ROOT="Passepartout/App"
|
||||
APP_SHARED_ROOT="Passepartout/AppShared"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
FILE="$1"
|
||||
SRC="$2/$FILE"
|
||||
DST="$3"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
SRC="$1"
|
||||
DST="$2"
|
||||
for LANG in "de" "el" "en" "es" "fr" "it" "nl" "pl" "pt" "ru" "sv" "zh-Hans"; do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
DIR="Passepartout/AppShared"
|
||||
FILENAME="Localizable.strings"
|
||||
|
||||
|
|
Loading…
Reference in New Issue