Skip to content

Commit

Permalink
chore: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Dec 6, 2023
1 parent 34fd966 commit 8f43275
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const ci = {
},
{
name: "Create plugin file",
run: "deno run --allow-read=. --allow-write=. scripts/create_plugin_file.ts",
run: "deno run -A scripts/create_plugin_file.ts",
},
{
name: "Get tag version",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
echo "dprint-plugin-prettier-x86_64-pc-windows-msvc.zip: ${{needs.build.outputs.ZIP_CHECKSUM_X86_64_PC_WINDOWS_MSVC}}"
echo "dprint-plugin-prettier-x86_64-unknown-linux-gnu.zip: ${{needs.build.outputs.ZIP_CHECKSUM_X86_64_UNKNOWN_LINUX_GNU}}"
- name: Create plugin file
run: deno run --allow-read=. --allow-write=. scripts/create_plugin_file.ts
run: deno run -A scripts/create_plugin_file.ts
- name: Get tag version
id: get_tag_version
run: 'echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//}'
Expand Down
2 changes: 1 addition & 1 deletion scripts/createForTesting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ deno task build
# todo: support more operating systems
cargo build --release
Compress-Archive -Force -Path target/release/dprint-plugin-prettier.exe -DestinationPath target/release/dprint-plugin-prettier-x86_64-pc-windows-msvc.zip
pwsh -Command { cd target/release && deno run --allow-read=../../ --allow-write=. --allow-env ../../scripts/create_plugin_file.ts --test }
pwsh -Command { cd target/release && deno run -A ../../scripts/create_plugin_file.ts --test }

0 comments on commit 8f43275

Please sign in to comment.