From 1a076d84fdd2b109249f8fa997a815af7ae77226 Mon Sep 17 00:00:00 2001 From: Egor Egorov Date: Wed, 18 Dec 2024 19:06:42 +0200 Subject: [PATCH] Fix release workflow MOB-3875 --- .github/workflows/prepare-xcframework-release.yml | 4 ++-- scripts/update_ios_widgets_package.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prepare-xcframework-release.yml b/.github/workflows/prepare-xcframework-release.yml index 8e07b58d5..a252a49b6 100644 --- a/.github/workflows/prepare-xcframework-release.yml +++ b/.github/workflows/prepare-xcframework-release.yml @@ -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' diff --git a/scripts/update_ios_widgets_package.sh b/scripts/update_ios_widgets_package.sh index ed4f01214..4752f3c6b 100755 --- a/scripts/update_ios_widgets_package.sh +++ b/scripts/update_ios_widgets_package.sh @@ -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: @@ -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"