@@ -80,26 +80,27 @@ jobs:
8080 echo "New version: $NEW_VERSION"
8181 echo "New app version: $NEW_APP_VERSION"
8282
83- - name : commit and tag version bump
84- run : |
85- COMMIT_MSG="release version to ${{ env.new_version }}"
86- TAG="v${{ env.new_version }}"
87-
88- git config --global user.email "[email protected] " 89- git config --global user.name "GitHub Actions"
90- git add -A
91- git commit -m "release version to ${{ env.new_version }}"
92- git tag "v${{ env.new_version }}"
93- git push origin main --tags
94-
95- - name : create github release (triggers release)
96- uses : actions/create-release@v1
97- env :
98- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83+ # - name: commit and tag version bump
84+ # run: |
85+ # COMMIT_MSG=
86+ # TAG="v${{ env.new_version }}"
87+ #
88+ # git config --global user.email "[email protected] "89+ # git config --global user.name "GitHub Actions"
90+ # git add -A
91+ # git commit -m "release version to ${{ env.new_version }}"
92+ # git tag "v${{ env.new_version }}"
93+ # git push origin main --tags
94+
95+ - name : create pr
96+ id : create_pr
97+ uses : peter-evans/create-pull-request@v6
9998 with :
100- tag_name : " v${{ env.new_version }}"
101- release_name : " v${{ env.new_version }}"
99+ token : ${{ secrets.GITHUB_TOKEN }}
100+ commit-message : ' release eoapi chart to ${{ env.new_version }}'
101+ title : ' release for ${{ github.ref }}@${{ github.sha }}'
102102 body : |
103- ## Changes in this Release
104- - Auto-generated release based on PR merge.
105-
103+ this PR contains the version bumps for the eoapi chart > ${{ env.new_version }}
104+ base : main
105+ branch : apply-${{ github.head_ref }}
106+ labels : release-apply
0 commit comments