Skip to content

Commit

Permalink
use env.version
Browse files Browse the repository at this point in the history
  • Loading branch information
emawby authored Jan 5, 2024
1 parent fe46ba2 commit a325b4b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
./update_swift_package.sh $version
shell: bash
- name: Commit Changes
env:
version: $version
run: |
git config --local user.email "[email protected]"
git config --local user.name "SyncR 🤖"
Expand All @@ -62,15 +60,15 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository: 'OneSignal/OneSignal-iOS-SDK'
force: true
branch: $version
branch: ${{env.version}}

- name: "Submitting PR"
uses: octokit/[email protected]
with:
route: POST /repos/{owner}/{repo}/pulls
owner: OneSignal
repo: OneSignal-iOS-SDK
head: $version
head: ${{env.version}}
base: main
title: |
"Release $version"
Expand Down

0 comments on commit a325b4b

Please sign in to comment.