Skip to content

Commit 0094bb8

Browse files
committed
fix: paths to build-tools
1 parent 8b7ac6e commit 0094bb8

File tree

7 files changed

+18
-16
lines changed

7 files changed

+18
-16
lines changed

android/makeRelease.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
source ./build-tools/assertions.sh
17+
source ../build-tools/assertions.sh
1818

1919
# TODO Remove mac requirement
2020
assertMac "Mac is required for publishing"
@@ -38,12 +38,12 @@ assertLastCall
3838
git add VERSION
3939
git commit -m "Android Release: $VERSION"
4040
git push
41-
git tag -a $VERSION -m "Android Release: $VERSION"
41+
git tag -a fuse-android/core/$VERSION -m "Android Release: $VERSION"
4242
git push --tags
4343

4444
./gradlew publishReleasePublicationToMavenRepository
4545

46-
gh release create $VERSION \
46+
gh release create android/core/$VERSION \
4747
./fuse/build/outputs/aar/fuse-debug.aar \
4848
./fuse/build/outputs/aar/fuse-release.aar \
4949
--verify-tag --generate-notes

android/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
source build-tools/assertions.sh
17+
source ../build-tools/assertions.sh
1818

1919
target="$1"
2020

ios/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
# 2. Run tests, this may take awhile.
2727
# 3. Copy files to a dist/ directory.
2828

29-
source build-tools/assertions.sh
30-
source build-tools/DirectoryTools.sh
31-
source build-tools/Checksum.sh
29+
source ../build-tools/assertions.sh
30+
source ../build-tools/DirectoryTools.sh
31+
source ../build-tools/Checksum.sh
3232

3333
assertMac "Mac is required to build Fuse iOS"
3434

ios/makeRelease.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
source build-tools/assertions.sh
18-
source build-tools/DirectoryTools.sh
17+
source ../build-tools/assertions.sh
18+
source ../build-tools/DirectoryTools.sh
1919

2020
assertMac "Mac is required for publishing"
2121
assertGitRepo
@@ -41,10 +41,10 @@ git add VERSION BTFuse/configs/version.xcconfig
4141
git add VERSION
4242
git commit -m "iOS Release: $VERSION"
4343
git push
44-
git tag -a $VERSION -m "iOS Release: $VERSION"
44+
git tag -a ios/core/$VERSION -m "iOS Release: $VERSION"
4545
git push --tags
4646

47-
gh release create $VERSION \
47+
gh release create ios/core/$VERSION \
4848
./dist/BTFuse.xcframework.zip \
4949
./dist/BTFuse.xcframework.zip.sha1.txt \
5050
./dist/BTFuse.framework.dSYM.zip \

ios/podPublish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
source build-tools/assertions.sh
17+
source ../build-tools/assertions.sh
1818

1919
pod spec lint BTFuse.podspec
2020
assertLastCall

ios/test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
if [ -z "$1" ]; then
1818
# Default Tests
19-
IOS_15=$(python3 ./build-tools/iossim.py "Fuse iOS 15" "iOS 15.5" "iPhone 13")
20-
IOS_16=$(python3 ./build-tools/iossim.py "Fuse iOS 16" "iOS 16.4" "iPhone 14")
21-
IOS_17=$(python3 ./build-tools/iossim.py "Fuse iOS 17" "iOS 17.5" "iPhone 15")
19+
IOS_15=$(python3 ../build-tools/iossim.py "Fuse iOS 15" "iOS 15.5" "iPhone 13")
20+
IOS_16=$(python3 ../build-tools/iossim.py "Fuse iOS 16" "iOS 16.4" "iPhone 14")
21+
IOS_17=$(python3 ../build-tools/iossim.py "Fuse iOS 17" "iOS 17.5" "iPhone 15")
2222

2323
xcrun simctl boot $IOS_15 > /dev/null
2424
xcrun simctl boot $IOS_16 > /dev/null
@@ -65,7 +65,7 @@ else
6565
SIM_VERSION="iOS $2"
6666
SIM_MODEL="$3"
6767

68-
SIM=$(python3 ./build-tools/iossim.py "$SIM_NAME" "$SIM_VERSION" "$SIM_MODEL")
68+
SIM=$(python3 ../build-tools/iossim.py "$SIM_NAME" "$SIM_VERSION" "$SIM_MODEL")
6969
echo "Using Sim: $SIM"
7070

7171
xcrun simctl boot $SIM > /dev/null

js/makeRelease.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
# TODO Needs to control the tagging process, using NPM flags.

0 commit comments

Comments
 (0)