We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fba5bf commit bc9af00Copy full SHA for bc9af00
1 file changed
.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
29
- name: Validate version matches tag
30
run: |
31
# Extract version from podspec
32
- PODSPEC_VERSION=$(grep "s.version" arclight-event-tracker.podspec | sed 's/.*= "\(.*\)".*/\1/')
+ PODSPEC_VERSION=$(grep "s.version " arclight-event-tracker.podspec | sed -n "s/.*'\([^']*\)'.*/\1/p")
33
# Extract version from git tag (remove 'v' prefix)
34
GIT_TAG_VERSION=${GITHUB_REF#refs/tags/v}
35
0 commit comments