From 93ee0a4103928a72a5055bae38de709aa6f2abd6 Mon Sep 17 00:00:00 2001 From: "team-integrations-fnm[bot]" <107085870+team-integrations-fnm-bot@users.noreply.github.com> Date: Thu, 31 Aug 2023 10:25:42 +1000 Subject: [PATCH] chore(main): release 3.1.0 (#22) --- CHANGELOG.md | 7 +++++++ dist/index.js | 2 -- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4183354..932dbe3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [3.1.0](https://github.com/OctopusDeploy/deploy-release-tenanted-action/compare/v3.0.3...v3.1.0) (2023-08-30) + + +### Features + +* Adds support for authenticating with access token ([#21](https://github.com/OctopusDeploy/deploy-release-tenanted-action/issues/21)) ([8515ddd](https://github.com/OctopusDeploy/deploy-release-tenanted-action/commit/8515ddde6ea0e8c421f80e9d5a3304c9605b7bba)) + ## [3.0.3](https://github.com/OctopusDeploy/deploy-release-tenanted-action/compare/v3.0.2...v3.0.3) (2023-04-20) diff --git a/dist/index.js b/dist/index.js index 3596ea2c..9acabe9b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -42449,8 +42449,6 @@ function getInputParameters() { if (!parameters.apiKey && !parameters.accessToken) { errors.push("The Octopus API Key is required, please specify explicitly through the 'api_key' input or set the OCTOPUS_API_KEY environment variable."); } - if (parameters.apiKey && parameters.accessToken) - errors.push('Only one of API Key or Access Token can be supplied.'); if (!parameters.space) { errors.push("The Octopus space name is required, please specify explicitly through the 'space' input or set the OCTOPUS_SPACE environment variable."); } diff --git a/package-lock.json b/package-lock.json index 5a6f4d2b..7c80e784 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "deploy-release-tenanted-action", - "version": "3.0.3", + "version": "3.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "deploy-release-tenanted-action", - "version": "3.0.3", + "version": "3.1.0", "license": "Apache-2.0", "dependencies": { "@actions/core": "^1.10.0", diff --git a/package.json b/package.json index d4b39726..87b4412f 100644 --- a/package.json +++ b/package.json @@ -84,5 +84,5 @@ "test:unit": "jest --ci --reporters=default --reporters=jest-junit --testPathPattern=__tests__/unit", "test:integration": "jest --ci --reporters=default --reporters=jest-junit --testPathPattern=__tests__/integration" }, - "version": "3.0.3" + "version": "3.1.0" } \ No newline at end of file