Skip to content

Commit

Permalink
fix: paths to build-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
breautek committed Oct 6, 2024
1 parent 8b7ac6e commit 0094bb8
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 16 deletions.
6 changes: 3 additions & 3 deletions android/makeRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source ./build-tools/assertions.sh
source ../build-tools/assertions.sh

# TODO Remove mac requirement
assertMac "Mac is required for publishing"
Expand All @@ -38,12 +38,12 @@ assertLastCall
git add VERSION
git commit -m "Android Release: $VERSION"
git push
git tag -a $VERSION -m "Android Release: $VERSION"
git tag -a fuse-android/core/$VERSION -m "Android Release: $VERSION"
git push --tags

./gradlew publishReleasePublicationToMavenRepository

gh release create $VERSION \
gh release create android/core/$VERSION \
./fuse/build/outputs/aar/fuse-debug.aar \
./fuse/build/outputs/aar/fuse-release.aar \
--verify-tag --generate-notes
2 changes: 1 addition & 1 deletion android/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source build-tools/assertions.sh
source ../build-tools/assertions.sh

target="$1"

Expand Down
6 changes: 3 additions & 3 deletions ios/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
# 2. Run tests, this may take awhile.
# 3. Copy files to a dist/ directory.

source build-tools/assertions.sh
source build-tools/DirectoryTools.sh
source build-tools/Checksum.sh
source ../build-tools/assertions.sh
source ../build-tools/DirectoryTools.sh
source ../build-tools/Checksum.sh

assertMac "Mac is required to build Fuse iOS"

Expand Down
8 changes: 4 additions & 4 deletions ios/makeRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source build-tools/assertions.sh
source build-tools/DirectoryTools.sh
source ../build-tools/assertions.sh
source ../build-tools/DirectoryTools.sh

assertMac "Mac is required for publishing"
assertGitRepo
Expand All @@ -41,10 +41,10 @@ git add VERSION BTFuse/configs/version.xcconfig
git add VERSION
git commit -m "iOS Release: $VERSION"
git push
git tag -a $VERSION -m "iOS Release: $VERSION"
git tag -a ios/core/$VERSION -m "iOS Release: $VERSION"
git push --tags

gh release create $VERSION \
gh release create ios/core/$VERSION \
./dist/BTFuse.xcframework.zip \
./dist/BTFuse.xcframework.zip.sha1.txt \
./dist/BTFuse.framework.dSYM.zip \
Expand Down
2 changes: 1 addition & 1 deletion ios/podPublish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source build-tools/assertions.sh
source ../build-tools/assertions.sh

pod spec lint BTFuse.podspec
assertLastCall
Expand Down
8 changes: 4 additions & 4 deletions ios/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

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

xcrun simctl boot $IOS_15 > /dev/null
xcrun simctl boot $IOS_16 > /dev/null
Expand Down Expand Up @@ -65,7 +65,7 @@ else
SIM_VERSION="iOS $2"
SIM_MODEL="$3"

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

xcrun simctl boot $SIM > /dev/null
Expand Down
2 changes: 2 additions & 0 deletions js/makeRelease.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

# TODO Needs to control the tagging process, using NPM flags.

0 comments on commit 0094bb8

Please sign in to comment.