Skip to content
This repository was archived by the owner on Dec 17, 2022. It is now read-only.

Commit b873300

Browse files
committed
0.6.2
1 parent ac32264 commit b873300

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133

134134
- name: Get plugin file checksum
135135
id: get_plugin_file_checksum
136-
run: echo "::set-output name=CHECKSUM::$(shasum -a 256 plugin.exe-plugin | awk '{print $1}')"
136+
run: echo "::set-output name=CHECKSUM::$(shasum -a 256 plugin.json | awk '{print $1}')"
137137

138138
- name: Release
139139
uses: softprops/action-gh-release@v1
@@ -144,7 +144,7 @@ jobs:
144144
dprint-plugin-rustfmt-x86_64-apple-darwin.zip
145145
dprint-plugin-rustfmt-x86_64-unknown-linux-gnu.zip
146146
dprint-plugin-rustfmt-x86_64-pc-windows-msvc.zip
147-
plugin.exe-plugin
147+
plugin.json
148148
body: |
149149
## Install
150150
@@ -168,7 +168,7 @@ jobs:
168168
"**/*.{rs}"
169169
],
170170
"plugins": [
171-
"https://plugins.dprint.dev/rustfmt-${{ steps.get_tag_version.outputs.TAG_VERSION }}.exe-plugin@${{ steps.get_plugin_file_checksum.outputs.CHECKSUM }}"
171+
"https://plugins.dprint.dev/rustfmt-${{ steps.get_tag_version.outputs.TAG_VERSION }}.json@${{ steps.get_plugin_file_checksum.outputs.CHECKSUM }}"
172172
]
173173
}
174174
```

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dprint-plugin-rustfmt"
3-
version = "0.6.1"
3+
version = "0.6.2"
44
authors = ["David Sherret <[email protected]>"]
55
edition = "2021"
66

@@ -9,7 +9,7 @@ name = "dprint-plugin-rustfmt"
99

1010
[dependencies]
1111
anyhow = "1.0.53"
12-
dprint-core = { version = "0.53.1", features = ["process"] }
12+
dprint-core = { version = "0.56.0", features = ["process"] }
1313
rustfmt-nightly = { git = "https://github.com/rust-lang/rustfmt", rev = "8b0b213cddb23a9bbe421b717d1a0e5fb3982712" }
1414
serde = { version = "1.0.135", features = ["derive"] }
1515
tokio = { version = "1.15.0", features = ["rt", "rt-multi-thread", "time", "macros"] }

scripts/create_plugin_file.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as path from "https://deno.land/[email protected]/path/mod.ts";
2-
import { extractCargoVersion, processPlugin } from "https://raw.githubusercontent.com/dprint/automation/0.2.0/mod.ts";
2+
import { extractCargoVersion, processPlugin } from "https://raw.githubusercontent.com/dprint/automation/0.3.0/mod.ts";
33

44
const currentDirPath = path.dirname(path.fromFileUrl(import.meta.url));
55
const cargoFilePath = path.join(currentDirPath, "../", "Cargo.toml");

0 commit comments

Comments
 (0)