File tree 1 file changed +9
-6
lines changed
.github/project_workflows
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 7
7
description : " Next version (eg. 1.0.0)"
8
8
required : true
9
9
type : string
10
+ push :
11
+ branches :
12
+ - feature/557-automate-release-pull-request-creation-process
10
13
11
14
concurrency :
12
15
group : ${{ github.workflow }}-${{ github.ref }}
@@ -64,15 +67,15 @@ jobs:
64
67
env :
65
68
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66
69
with :
67
- branch : chore/bump-version-to-${{ github.event.inputs.nextVersion }}
70
+ branch : chore/bump-version-to-1.1.0
68
71
69
72
- name : Checkout code
70
73
uses : actions/checkout@v4
71
74
with :
72
- ref : chore/bump-version-to-${{ github.event.inputs.nextVersion }}
75
+ ref : chore/bump-version-to-1.1.0
73
76
74
77
- 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
76
79
77
80
- name : Set up Git
78
81
run : |
@@ -82,12 +85,12 @@ jobs:
82
85
- name : Commit changes
83
86
run : |
84
87
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 "
86
89
git push origin HEAD
87
90
88
91
- name : Create pull request
89
92
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"
92
95
env :
93
96
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments