diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d6d469..fbe4ab3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,8 +103,6 @@ jobs: echo "new_version=$NEW_VERSION" >> $GITHUB_ENV shell: bash - - name: Stash changes - run: git reset --hard - name: git config run: | @@ -115,12 +113,18 @@ 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 = '${{ env.new_version }}'/g" 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 }}" + git push origin main shell: bash + - name: Stash changes + run: git reset --hard + - name: Tag the new version run: | git tag "v${{ env.new_version }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 525fc94..8db0399 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 4.0.23 +* Fixed issue in github workflow + # 4.0.22 * Added github actions workflow