Skip to content

Commit

Permalink
Merge pull request #322 from OldSneerJaw/release-1.6.5
Browse files Browse the repository at this point in the history
Preparation for 1.6.5 release
  • Loading branch information
OldSneerJaw authored Jan 7, 2025
2 parents 7b30872 + 4989fad commit 1144c77
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 21 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Publish

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
tag:
description: 'The tag to apply to the published version in npm'
required: true
default: 'latest'
type: string

env:
JOB_NODE_VERSION: '20.17.0' # Chosen to match what is used internally by the Heroku CLI
Expand All @@ -9,20 +16,24 @@ jobs:
publish:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.JOB_NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
cache: yarn

- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache

- name: Publish to npm
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --provenance --tag ${{ github.event.inputs.tag }}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/). All notable changes will be documented in this file.

## [1.6.5](https://github.com/OldSneerJaw/borealis-pg-cli/compare/v1.6.4...v1.6.5)
- Fixed: Missing files when building and publishing

## [1.6.4](https://github.com/OldSneerJaw/borealis-pg-cli/compare/v1.6.3...v1.6.4)
- Fixed: Typing errors during build

Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ DESCRIPTION
shows information about a Borealis Isolated Postgres add-on database
```

_See code: [src/commands/borealis-pg/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/index.ts)_
_See code: [src/commands/borealis-pg/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/index.ts)_

## `heroku borealis-pg:extensions`

Expand All @@ -72,7 +72,7 @@ DESCRIPTION
lists installed Postgres extensions for a Borealis Isolated Postgres add-on
```

_See code: [src/commands/borealis-pg/extensions/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/extensions/index.ts)_
_See code: [src/commands/borealis-pg/extensions/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/extensions/index.ts)_

## `heroku borealis-pg:extensions:install PG_EXTENSION`

Expand Down Expand Up @@ -112,7 +112,7 @@ EXAMPLES
$ heroku borealis-pg:extensions:install --suppress-conflict --addon borealis-pg-hex-12345 pg_trgm
```

_See code: [src/commands/borealis-pg/extensions/install.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/extensions/install.ts)_
_See code: [src/commands/borealis-pg/extensions/install.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/extensions/install.ts)_

## `heroku borealis-pg:extensions:remove PG_EXTENSION`

Expand Down Expand Up @@ -142,7 +142,7 @@ EXAMPLES
$ heroku borealis-pg:extensions:remove --confirm uuid-ossp --addon borealis-pg-hex-12345 uuid-ossp
```

_See code: [src/commands/borealis-pg/extensions/remove.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/extensions/remove.ts)_
_See code: [src/commands/borealis-pg/extensions/remove.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/extensions/remove.ts)_

## `heroku borealis-pg:info`

Expand All @@ -160,7 +160,7 @@ DESCRIPTION
shows information about a Borealis Isolated Postgres add-on database
```

_See code: [src/commands/borealis-pg/info.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/info.ts)_
_See code: [src/commands/borealis-pg/info.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/info.ts)_

## `heroku borealis-pg:integrations`

Expand All @@ -181,7 +181,7 @@ DESCRIPTION
via a secure tunnel using semi-permanent SSH server and database credentials.
```

_See code: [src/commands/borealis-pg/integrations/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/integrations/index.ts)_
_See code: [src/commands/borealis-pg/integrations/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/integrations/index.ts)_

## `heroku borealis-pg:integrations:register SSH_PUBLIC_KEY`

Expand Down Expand Up @@ -230,7 +230,7 @@ EXAMPLES
$ heroku borealis-pg:integrations:register --write-access --app sushi --name my_integration2 ssh-rsa SSHPUBLICKEY2===
```

_See code: [src/commands/borealis-pg/integrations/register.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/integrations/register.ts)_
_See code: [src/commands/borealis-pg/integrations/register.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/integrations/register.ts)_

## `heroku borealis-pg:integrations:remove`

Expand Down Expand Up @@ -258,7 +258,7 @@ EXAMPLES
$ heroku borealis-pg:integrations:remove --confirm my_integration2 --app sushi --name my_integration2
```

_See code: [src/commands/borealis-pg/integrations/remove.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/integrations/remove.ts)_
_See code: [src/commands/borealis-pg/integrations/remove.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/integrations/remove.ts)_

## `heroku borealis-pg:psql`

Expand Down Expand Up @@ -308,7 +308,7 @@ EXAMPLES
$ heroku borealis-pg:psql --addon borealis-pg-hex-12345
```

_See code: [src/commands/borealis-pg/psql.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/psql.ts)_
_See code: [src/commands/borealis-pg/psql.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/psql.ts)_

## `heroku borealis-pg:restore:capabilities`

Expand Down Expand Up @@ -337,7 +337,7 @@ ALIASES
$ heroku borealis-pg:restore:info
```

_See code: [src/commands/borealis-pg/restore/capabilities.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/restore/capabilities.ts)_
_See code: [src/commands/borealis-pg/restore/capabilities.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/restore/capabilities.ts)_

## `heroku borealis-pg:restore:execute`

Expand Down Expand Up @@ -378,7 +378,7 @@ EXAMPLES
$ heroku borealis-pg:restore:execute --app sushi --destination-app my-other-app --new-plan x2-s100-p2-r8
```

_See code: [src/commands/borealis-pg/restore/execute.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/restore/execute.ts)_
_See code: [src/commands/borealis-pg/restore/execute.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/restore/execute.ts)_

## `heroku borealis-pg:run`

Expand Down Expand Up @@ -452,7 +452,7 @@ EXAMPLES
$ heroku borealis-pg:run --addon borealis-pg-hex-12345 --shell-cmd './manage.py migrate' --write-access
```

_See code: [src/commands/borealis-pg/run.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/run.ts)_
_See code: [src/commands/borealis-pg/run.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/run.ts)_

## `heroku borealis-pg:tunnel`

Expand Down Expand Up @@ -498,7 +498,7 @@ EXAMPLES
$ heroku borealis-pg:tunnel --addon borealis-pg-hex-12345 --write-access
```

_See code: [src/commands/borealis-pg/tunnel.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/tunnel.ts)_
_See code: [src/commands/borealis-pg/tunnel.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/tunnel.ts)_

## `heroku borealis-pg:users`

Expand Down Expand Up @@ -526,7 +526,7 @@ DESCRIPTION
borealis-pg:users:reset command).
```

_See code: [src/commands/borealis-pg/users/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/users/index.ts)_
_See code: [src/commands/borealis-pg/users/index.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/users/index.ts)_

## `heroku borealis-pg:users:reset`

Expand Down Expand Up @@ -565,5 +565,5 @@ DESCRIPTION
borealis-pg:integrations:revoke command.
```

_See code: [src/commands/borealis-pg/users/reset.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.4/src/commands/borealis-pg/users/reset.ts)_
_See code: [src/commands/borealis-pg/users/reset.ts](https://github.com/OldSneerJaw/borealis-pg-cli/blob/v1.6.5/src/commands/borealis-pg/users/reset.ts)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "borealis-pg-cli",
"description": "CLI for advanced interactions with Borealis Isolated Postgres add-ons",
"version": "1.6.4",
"version": "1.6.5",
"author": "Boreal Information Systems Inc.",
"bugs": "https://github.com/OldSneerJaw/borealis-pg-cli/issues",
"dependencies": {
Expand Down

0 comments on commit 1144c77

Please sign in to comment.