From 63a0c2e4b1269e98cafb376394a3a3e35568ef6a Mon Sep 17 00:00:00 2001 From: John Bristowe Date: Wed, 25 May 2022 21:54:39 +1000 Subject: [PATCH 1/3] feat: reordered imports and updated info message --- src/octopus-cli.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/octopus-cli.ts b/src/octopus-cli.ts index 9938e355..df2e69e5 100644 --- a/src/octopus-cli.ts +++ b/src/octopus-cli.ts @@ -1,14 +1,14 @@ -import * as os from 'os' -import {promises as fs} from 'fs' +import {debug, info, setFailed} from '@actions/core' +import {HttpClient} from '@actions/http-client' import { cacheDir, downloadTool, extractTar, extractZip } from '@actions/tool-cache' -import {debug, info, setFailed} from '@actions/core' -import {HttpClient} from '@actions/http-client' -import {join, dirname} from 'path' +import {promises as fs} from 'fs' +import * as os from 'os' +import {dirname, join} from 'path' import {v4} from 'uuid' import {OctopusCLIVersionFetcher} from './octopusCLIVersionFetcher' @@ -74,7 +74,7 @@ const getDownloadUrl = async (versionSpec: string): Promise => { version = new OctopusCLIVersionFetcher( versionsResponse.versions ).getVersion(versionSpec) - info(`Latest version: ${version}`) + info(`Latest version available: ${version}`) } catch (e: unknown) { if (e instanceof Error) { setFailed(e) From df143637aae8306c96584c6256e5edf95f63119f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 May 2022 12:01:30 +0000 Subject: [PATCH 2/3] chore(main): release 1.3.0 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 445353b2..9afdd4f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.3.0](https://github.com/OctopusDeploy/install-octopus-cli-action/compare/v1.2.0...v1.3.0) (2022-05-25) + + +### Features + +* reordered imports and updated info message ([63a0c2e](https://github.com/OctopusDeploy/install-octopus-cli-action/commit/63a0c2e4b1269e98cafb376394a3a3e35568ef6a)) + ## [1.2.0](https://github.com/OctopusDeploy/install-octopus-cli-action/compare/v1.1.10...v1.2.0) (2022-05-04) diff --git a/package-lock.json b/package-lock.json index b0837c5e..83c5bdb4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "install-octopus-cli-action", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "install-octopus-cli-action", - "version": "1.2.0", + "version": "1.3.0", "license": "Apache-2.0", "dependencies": { "@actions/core": "^1.8.2", diff --git a/package.json b/package.json index 1ec0198e..086fc712 100644 --- a/package.json +++ b/package.json @@ -73,5 +73,5 @@ "postbuild": "ncc build -o dist", "test": "jest --passWithNoTests" }, - "version": "1.2.0" + "version": "1.3.0" } \ No newline at end of file From c861acd4472dad35d2baa741226c5c6f60546b47 Mon Sep 17 00:00:00 2001 From: John Bristowe Date: Wed, 25 May 2022 22:08:03 +1000 Subject: [PATCH 3/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5267adc8..6aa1fcef 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ To install the latest version (i.e. `*` or `latest`) of the Octopus CLI: ```yml - name: Install Octopus CLI 🐙 - uses: OctopusDeploy/install-octopus-cli-action@v1.2.0 + uses: OctopusDeploy/install-octopus-cli-action@v1 with: version: '*' ``` @@ -28,7 +28,7 @@ To install a specific version of the Octopus CLI: ```yml - name: Install Octopus CLI 🐙 - uses: OctopusDeploy/install-octopus-cli-action@v1.2.0 + uses: OctopusDeploy/install-octopus-cli-action@v1 with: version: 9.0.0 ``` @@ -37,7 +37,7 @@ Here's an example of invoking the `list-deployments` command after installing th ```yml - name: Install Octopus CLI 🐙 - uses: OctopusDeploy/install-octopus-cli-action@v1.2.0 + uses: OctopusDeploy/install-octopus-cli-action@v1 with: version: 9.0.0 - name: list-octopusdeploy-deployments