-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add convenience methods for pointer creation (#24)
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,9 +53,9 @@ jobs: | |
manifest-file: .github/release-manifest.json | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Update the version number | ||
if: ${{ steps.release.outputs.prs_created == 'true' }} | ||
if: steps.release.outputs.prs_created && steps.release.outputs.pr != null | ||
run: | | ||
git config pull.ff only | ||
git config pull.rebase true | ||
git checkout ${{ fromJSON(steps.release.outputs.pr).headBranchName }} | ||
git pull origin ${{ fromJSON(steps.release.outputs.pr).headBranchName }} | ||
version=$(jq -r '."."' .github/release-manifest.json) | ||
|
@@ -65,4 +65,4 @@ jobs: | |
git config --local user.email "[email protected]" | ||
git add version.go | ||
git commit -m "chore: Configure the version number" | ||
git push | ||
git push origin ${{ fromJSON(steps.release.outputs.pr).headBranchName }} |
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