-
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.
fix: Fix the format of the user-agent header (#23)
- Loading branch information
Showing
3 changed files
with
5 additions
and
4 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 |
---|---|---|
|
@@ -55,11 +55,12 @@ jobs: | |
- name: Update the version number | ||
if: ${{ steps.release.outputs.prs_created == 'true' }} | ||
run: | | ||
git config pull.ff only | ||
git checkout ${{ fromJSON(steps.release.outputs.pr).headBranchName }} | ||
git pull origin ${{ fromJSON(steps.release.outputs.pr).headBranchName }} | ||
version=$(jq -r '."."' .github/release-manifest.json) | ||
version=${version#v} | ||
sed -i '/const semanticVersion = \"v[0-9]*\.[0-9]*\.[0-9]*\"/cconst semanticVersion = \"v$version\"' version.go | ||
sed -i '/const semanticVersion = \"[0-9]*\.[0-9]*\.[0-9]*\"/cconst semanticVersion = \"$version\"' version.go | ||
git config --local user.name "David Letterman" | ||
git config --local user.email "[email protected]" | ||
git add version.go | ||
|
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