Skip to content

Commit

Permalink
fix: added step to auto update version in podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Subhash703 committed Nov 8, 2024
1 parent 07b9240 commit 992c809
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ jobs:
run: |
# Update the version in pubspec.yaml
sed -i "s/^version: .*/version: ${{ env.new_version }}/" pubspec.yaml
sed -i '' "s/^ s.version.*/ s.version = '$NEW_VERSION'/" ios/hypersdkflutter.podspec
# Commit the updated pubspec.yaml file
git add pubspec.yaml
git add ios/hypersdkflutter.podspec
git commit -m "chore: bump version to ${{ env.new_version }}"
shell: bash

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: hypersdkflutter
description: >-
Flutter plugin for HyperSDK which enables payment orchestration via different dynamic modules.
version: 4.0.21
version: 4.0.22
repository: https://github.com/juspay/hyper-sdk-flutter
homepage: https://juspay.in/

Expand Down

0 comments on commit 992c809

Please sign in to comment.