-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ jobs: | |
|| contains(github.event.inputs.versionTag, 'rc')) }} | ||
uses: actions/[email protected] | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} | ||
script: | | ||
await github.request(`POST /repos/${{ github.repository }}/releases`, { | ||
tag_name: "${{ github.event.inputs.versionTag }}", | ||
|
@@ -58,7 +58,7 @@ jobs: | |
|| contains(github.event.inputs.versionTag, 'rc')) }} | ||
uses: actions/[email protected] | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} | ||
script: | | ||
await github.request(`POST /repos/${{ github.repository }}/releases`, { | ||
tag_name: "${{ github.event.inputs.versionTag }}", | ||
|
@@ -75,16 +75,19 @@ jobs: | |
- name: Switch to new branch | ||
run: git checkout -b release/set-version-to-${{ github.event.inputs.versionTag }} | ||
|
||
- name: Set remote branch | ||
run: git push --set-upstream origin release/set-version-to-${{ github.event.inputs.versionTag }} | ||
|
||
- name: Checkin commit | ||
run: git commit . -m 'Set version to ${{ github.event.inputs.versionTag }}' | ||
|
||
- name: Set remote branch | ||
run: git push --set-upstream origin release/set-version-to-${{ github.event.inputs.versionTag }} | ||
- name: Push to Github | ||
run: git push | ||
|
||
- name: Open PR with version bump | ||
uses: actions/[email protected] | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} | ||
script: | | ||
await github.request(`POST /repos/${{ github.repository }}/pulls`, { | ||
title: 'Update version to ${{ github.event.inputs.versionTag }}', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters