Skip to content

Commit

Permalink
Updated regex in sed to be more selective
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesShuller committed Jun 11, 2024
1 parent 7e6c876 commit 18a18d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
sed -i '' 's/.binaryTarget.*/.binaryTarget(name: "RustFramework", url: "https:\/\/github.com\/spruceid\/wallet-sdk-rs\/releases\/download\/${{ github.event.inputs.version }}\/RustFramework.xcframework.zip", checksum: "${{ env.XCF_CHECKSUM }}"),/' Package.swift
- name: Update Cocoapods definitions
run: |
sed -i '' -r 's/[0-9]+.[0-9]+.[0-9]+/${{ github.event.inputs.version }}/' SpruceIDWalletSdkRsRustFramework.podspec
sed -i '' -r 's/[0-9]+.[0-9]+.[0-9]+/${{ github.event.inputs.version }}/' SpruceIDWalletSdkRs.podspec
sed -i '' -r 's/^( *spec.version *= *)"[^\"]+"/\1${{ github.event.inputs.version }}/' SpruceIDWalletSdkRsRustFramework.podspec
sed -i '' -r 's/^( *spec.version *= *)"[^\"]+"/\1${{ github.event.inputs.version }}/' SpruceIDWalletSdkRs.podspec
- name: Push changes and tag
run: |
Expand Down
2 changes: 1 addition & 1 deletion SpruceIDWalletSdkRsRustFramework.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "SpruceIDWalletSdkRsRustFramework"
spec.version = "0.0.28-alpha+3-alpha+2-alpha+1-alpha+1"
spec.version = 0.0.28-WORKS
spec.summary = "Rust-generated Framework Swift Wallet SDK."
spec.description = <<-DESC
Rust layer framework for the Swift Wallet SDK.
Expand Down

0 comments on commit 18a18d3

Please sign in to comment.