diff --git a/.changes/config.json b/.changes/config.json index c20e2e40d..1c8bf4fe2 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -1,17 +1,21 @@ { "gitSiteUrl": "https://github.com/tauri-apps/wry/", "timeout": 3600000, - "additionalBumpTypes": [ - "housekeeping" - ], + "additionalBumpTypes": ["housekeeping"], "pkgManagers": { "rust": { "version": true, - "getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p'", + "getPublishedVersion": { + "use": "fetch:check", + "options": { + "url": "https://crates.io/api/v1/crates/${ pkg.pkg }/${ pkg.pkgFile.version }" + } + }, "prepublish": [ - "sudo apt-get update", - "sudo apt-get install -y libgtk-3-dev libgtksourceview-3.0-dev webkit2gtk-4.1 libayatana-appindicator3-dev", - "cargo install cargo-audit --features=fix", + { + "command": "cargo install cargo-audit --features=fix", + "dryRunCommand": true + }, { "command": "cargo generate-lockfile", "dryRunCommand": true, @@ -36,18 +40,14 @@ } ], "publish": [ - { - "command": "cargo package --allow-dirty", - "dryRunCommand": true - }, { "command": "echo '
\n

Cargo Publish

\n\n```'", "dryRunCommand": true, "pipe": true }, { - "command": "cargo publish --no-verify", - "dryRunCommand": "cargo publish --no-verify --dry-run --allow-dirty", + "command": "cargo publish --no-verify --allow-dirty", + "dryRunCommand": "cargo publish --no-verify --allow-dirty --dry-run", "pipe": true }, { @@ -60,12 +60,6 @@ "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f", "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f", "git push --tags -f" - ], - "assets": [ - { - "path": "./target/package/${ pkg.pkg }-${ pkgFile.version }.crate", - "name": "${ pkg.pkg }-${ pkgFile.version }.crate" - } ] } }, @@ -75,4 +69,4 @@ "manager": "rust" } } -} \ No newline at end of file +}