Skip to content

Commit

Permalink
chore: maybe fix release ci (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Jan 5, 2025
1 parent 5021045 commit 68101b9
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
run: |
git config user.email "${{ github.actor }}@users.noreply.github.com"
git config user.name "${{ github.actor }}"
deno run -A https://raw.githubusercontent.com/dprint/automation/0.7.1/tasks/publish_release.ts --${{github.event.inputs.releaseKind}} plugin/Cargo.toml
deno run -A https://raw.githubusercontent.com/dprint/automation/0.10.0/tasks/publish_release.ts --${{github.event.inputs.releaseKind}} plugin/Cargo.toml
148 changes: 147 additions & 1 deletion deno.lock

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

4 changes: 2 additions & 2 deletions scripts/create_plugin_file.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env -S deno run --allow-env --allow-read --allow-write --allow-net=deno.land
import $ from "dax";
import { CargoToml, processPlugin } from "https://raw.githubusercontent.com/dprint/automation/0.8.1/mod.ts";
import { CargoToml, processPlugin } from "https://raw.githubusercontent.com/dprint/automation/0.10.0/mod.ts";

const currentDir = $.path(import.meta).parentOrThrow();
const currentDir = $.path(import.meta.dirname!).parentOrThrow();
const rootDir = currentDir.join("../").resolve();
const cargoFilePath = rootDir.join("plugin/Cargo.toml");

Expand Down
2 changes: 1 addition & 1 deletion scripts/local_test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ from "dax";
import { getChecksum } from "https://raw.githubusercontent.com/dprint/automation/0.8.1/hash.ts";
import { getChecksum } from "https://raw.githubusercontent.com/dprint/automation/0.10.0/hash.ts";

await $`./scripts/create_for_testing.ts`;
const checksum = await getChecksum($.path("./target/release/plugin.json").readBytesSync());
Expand Down

0 comments on commit 68101b9

Please sign in to comment.