Skip to content

Commit

Permalink
fix: Updated client library to get better error messages capabilities…
Browse files Browse the repository at this point in the history
… and required Octopus version
  • Loading branch information
slewis74 committed Jan 27, 2023
1 parent 742f44c commit 072c13b
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 45 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@ lib/**/*
octo
out
reports/

.idea
86 changes: 43 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"dependencies": {
"@actions/core": "^1.10.0",
"@octopusdeploy/api-client": "^2.1.3",
"@octopusdeploy/api-client": "^3.0.1",
"tmp": "^0.2.1"
},
"description": "GitHub Action to Create a Release in Octopus Deploy",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { createReleaseFromInputs } from './api-wrapper'
const parameters = getInputParameters()

const config: ClientConfiguration = {
userAgentApp: 'GitHubActions create-release-action',
userAgentApp: 'GitHubActions (release;create;v3)',
instanceURL: parameters.server,
apiKey: parameters.apiKey,
logging: logger
Expand Down

0 comments on commit 072c13b

Please sign in to comment.