Skip to content

Commit

Permalink
Merge pull request #1025 from polyseam/fix-upgrade-18-and-19
Browse files Browse the repository at this point in the history
fix: `cndi upgrade` fails during unzip
  • Loading branch information
johnstonmatt authored Oct 1, 2024
2 parents 2447d5d + 3a5a25e commit 747d14b
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 26 deletions.
6 changes: 3 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.19.0",
"deno_version": "1.46.2",
"version": "2.20.0",
"deno_version": "1.46.3",
"tasks": {
"tar-win": "tar -czvf dist/release-archives/cndi-win.tar.gz -C dist/win/in .",
"tar-linux": "tar -czvf dist/release-archives/cndi-linux.tar.gz -C dist/linux/in .",
Expand Down Expand Up @@ -39,7 +39,7 @@
"@cndi/cdktf/modules/aws-eks.ts": "jsr:@cndi/cdktf@^0.1.2/modules/aws-eks.ts",
"@cndi/cdktf/modules/aws-iam-assumable-role-with-oidc.ts": "jsr:@cndi/cdktf@^0.1.2/modules/aws-iam-assumable-role-with-oidc.ts",
"@cndi/cdktf/modules/aws-vpc.ts": "jsr:@cndi/cdktf@^0.1.2/modules/aws-vpc.ts",
"@polyseam/cliffy-provider-gh-releases": "jsr:@polyseam/cliffy-provider-gh-releases@^1.0.0-rc.10",
"@polyseam/cliffy-provider-gh-releases": "jsr:@polyseam/[email protected].11",
"@polyseam/silky": "jsr:@polyseam/silky@^1.1.2",
"@std/assert": "jsr:@std/assert@^0.221.0",
"@std/async": "jsr:@std/async@^0.221.0",
Expand Down
100 changes: 77 additions & 23 deletions deno.lock

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

2 changes: 2 additions & 0 deletions src/commands/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { emitExitEvent, getPathToCndiBinary } from "src/utils.ts";
const destinationDir = "~/.cndi/bin";

const upgradeCommand = new GithubReleasesUpgradeCommand({
// @ts-ignore - hotfix!
spinner: false,
provider: new GithubReleasesProvider({
repository: "polyseam/cndi",
destinationDir,
Expand Down

0 comments on commit 747d14b

Please sign in to comment.