Skip to content

Commit 191b90a

Browse files
committed
test
1 parent b0f1fe6 commit 191b90a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/project_workflows/create_release_pull_request.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
description: "Next version (eg. 1.0.0)"
88
required: true
99
type: string
10+
push:
11+
branches:
12+
- feature/557-automate-release-pull-request-creation-process
1013

1114
concurrency:
1215
group: ${{ github.workflow }}-${{ github.ref }}
@@ -64,15 +67,15 @@ jobs:
6467
env:
6568
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6669
with:
67-
branch: chore/bump-version-to-${{ github.event.inputs.nextVersion }}
70+
branch: chore/bump-version-to-1.1.0
6871

6972
- name: Checkout code
7073
uses: actions/checkout@v4
7174
with:
72-
ref: chore/bump-version-to-${{ github.event.inputs.nextVersion }}
75+
ref: chore/bump-version-to-1.1.0
7376

7477
- name: Bump version
75-
run: sed -i "" "s/MARKETING_VERSION = .*/MARKETING_VERSION = ${{ github.event.inputs.nextVersion }};/g" Smashburger.xcodeproj/project.pbxproj
78+
run: sed -i "" "s/MARKETING_VERSION = .*/MARKETING_VERSION = 1.1.0;/g" Smashburger.xcodeproj/project.pbxproj
7679

7780
- name: Set up Git
7881
run: |
@@ -82,12 +85,12 @@ jobs:
8285
- name: Commit changes
8386
run: |
8487
git add .
85-
git commit -m "[Chore] Bump version to ${{ github.event.inputs.nextVersion }}"
88+
git commit -m "[Chore] Bump version to 1.1.0"
8689
git push origin HEAD
8790
8891
- name: Create pull request
8992
run: |
90-
echo -e "## What happened 👀\n\nBump version to ${{ github.event.inputs.nextVersion }}" > body
91-
export body=$(cat body) ; gh pr create --draft -B develop -H chore/bump-version-to-${{ github.event.inputs.nextVersion }} -t '[Chore] Bump version to ${{ github.event.inputs.nextVersion }}' -b "$body"
93+
echo -e "## What happened 👀\n\nBump version to 1.1.0" > body
94+
export body=$(cat body) ; gh pr create --draft -B develop -H chore/bump-version-to-1.1.0 -t '[Chore] Bump version to 1.1.0' -b "$body"
9295
env:
9396
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)