Skip to content

Commit

Permalink
Merge pull request #33 from duplocloud/release/0.5.6
Browse files Browse the repository at this point in the history
Release v0.5.6
  • Loading branch information
duplodavid authored Nov 11, 2024
2 parents 08dd6f4 + 22c3f98 commit 78f23de
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
if: steps.git-check.outputs.modified == 'true'
run: |
git config --global user.name 'Duplo Github Bot'
git config --global user.email 'joe[email protected]'
git config --global user.email 'infra[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git commit -am "lint: go fmt"
git push
2 changes: 1 addition & 1 deletion .github/workflows/finish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- master
env:
git_user: duplo-bot
git_email: joe[email protected]
git_email: infra[email protected]
jobs:
finish-release:
if: github.event.pull_request.merged == true && (startsWith(github.head_ref, 'refs/heads/release/') || startsWith(github.head_ref, 'release/'))
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/start-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
default: '' # default to current version
env:
git_user: duplo-bot
git_email: joe[email protected]
git_email: infra[email protected]
jobs:
start-release:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ brews:
url_template: "https://github.com/duplocloud/duplo-jit/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: duplo-bot
email: joe[email protected]
email: infra[email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://github.com/duplocloud/duplo-jit"
Expand Down
2 changes: 2 additions & 0 deletions duplocloud/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func (c *Client) doAPI(verb string, apiName string, apiPath string, rp interface
return nil
}
message := fmt.Sprintf("%s: received unexpected response: %s", apiName, bodyString)
//nolint:govet
logf(TRACE, message)
return appHttpError(req, message)
}
Expand All @@ -201,6 +202,7 @@ func (c *Client) doAPI(verb string, apiName string, apiPath string, rp interface
err = json.Unmarshal(body, rp)
if err != nil {
message := fmt.Sprintf("%s: cannot unmarshal response from JSON: %s", apiName, err.Error())
//nolint:govet
logf(TRACE, message)
return newHttpError(req, -1, message)
}
Expand Down

0 comments on commit 78f23de

Please sign in to comment.