Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Commit

Permalink
Fix podspec file name (#48)
Browse files Browse the repository at this point in the history
* Fix podspec file name

* Fix cache path

* add pull_request trigger

* update Podfile.lock
  • Loading branch information
hewigovens authored Jun 10, 2020
1 parent 19a10a2 commit 4481060
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: pod_cache
uses: actions/[email protected]
with:
path: Pods
path: Example/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
- name : Pod install
run: bundle exec pod install --repo-update
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
tags:
- '*'
pull_request:
tags:
- '*'

jobs:
podspec:
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PODS:
- SwiftProtobuf (1.9.0)
- TrustSDK/Client (1.2.5):
- BigInt
- TrustWalletCore/Types
- TrustWalletCore/Types (~> 2.0.14)
- TrustSDK/Wallet (1.2.5):
- TrustSDK/Client
- TrustWalletCore/Types (2.0.14):
Expand All @@ -29,7 +29,7 @@ SPEC CHECKSUMS:
BigInt: 74b4d88367b0e819d9f77393549226d36faeb0d8
SwiftLint: 22ccbbe3b8008684be5955693bab135e0ed6a447
SwiftProtobuf: ecbec1be9036d15655f6b3443a1c4ea693c97932
TrustSDK: 94db9da0d77fa9b8cd09e149639cefcb7b218cea
TrustSDK: a85e4f79f5401531e77b6453fefd255047e16dad
TrustWalletCore: 7cfb2be855c43239706a67d9068deb325fd7ae43

PODFILE CHECKSUM: 6f9dcdc468e57640ba9d6223d0d12eb715e684c3
Expand Down
4 changes: 2 additions & 2 deletions tools/pod-release
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if [ -z "$VERSION" ]; then
VERSION=`git describe --long --tags | cut -f 1 -d "-"`
fi

PODSPEC_FILE="/tmp/TrustSDK_$VERSION.podspec"
echo Pushing version "$PODSPEC_FILE"
PODSPEC_FILE="/tmp/TrustSDK.podspec"
echo Pushing "$VERSION" "$PODSPEC_FILE"

cat << EOF > "$PODSPEC_FILE"
Pod::Spec.new do |s|
Expand Down

0 comments on commit 4481060

Please sign in to comment.