Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
MOB-3875
  • Loading branch information
Egor Egorov authored and EgorovEI committed Dec 19, 2024
1 parent eb3a133 commit b2cf104
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prepare-xcframework-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ jobs:
shell: bash

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: "release/xcf/${{ steps.fetch_semver.outputs.semver}}"
title: 'GliaWidgets SDK Release ${{ steps.fetch_semver.outputs.semver}}'
title: 'GliaWidgets SDK XCFramework Release ${{ steps.fetch_semver.outputs.semver}}'
commit-message: |
GliaWidgets SDK XCFramework Release ${{ steps.fetch_semver.outputs.semver}}
base: 'master'
Expand Down
3 changes: 1 addition & 2 deletions scripts/update_ios_widgets_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CHECKSUM=$2
BRANCH_NAME=$3

git checkout -b "$BRANCH_NAME"
git push origin "$BRANCH_NAME":"$BRANCH_NAME"

# This script takes template file from templates/Package.swift
# and replaces next placeholders:
Expand Down Expand Up @@ -39,5 +40,3 @@ sed -i '' "s/\${WIDGETS_SDK_CHECKSUM}/${CHECKSUM}/g" "Package.swift"

# Commits and pushes the changes.
git add .
git commit -m "Update Widgets SDK xcframework version"
git push origin "$BRANCH_NAME":"$BRANCH_NAME"

0 comments on commit b2cf104

Please sign in to comment.