diff --git a/.changes/config.json b/.changes/config.json index 506142e..72cfc9f 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -1,83 +1,78 @@ { - "gitSiteUrl": "https://www.github.com/tauri-apps/nsis-tauri-utils/", - "timeout": 3600000, - "pkgManagers": { - "rust": { - "version": true, - "getPublishedVersion": "node ../../.scripts/package-latest-version.js ${ pkgFile.name } ${ pkgFile.version }", - "publish": [ - { - "command": "cargo build --release", - "dryRunCommand": true - }, - { - "command": "echo 'SHA1: `'", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "powershell -Command 'Get-FileHash -Algorithm SHA1 \"../../target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll\" | Select -ExpandProperty Hash'", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '`'", - "dryRunCommand": true, - "pipe": true - } - ], - "postpublish": [ - "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f", - "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f", - "git push --tags -f" - ] - } - }, - "packages": { - "nsis_tauri_utils": { - "path": "./crates/nsis-tauri-utils", - "manager": "rust", - "dependencies": [ - "nsis_download", - "nsis_process", - "nsis_semvercompare" - ], - "assets": [ - { - "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", - "name": "${ pkg.pkg }.dll" - } - ] + "gitSiteUrl": "https://www.github.com/tauri-apps/nsis-tauri-utils/", + "timeout": 3600000, + "pkgManagers": { + "rust": { + "version": true, + "getPublishedVersion": "node ../../.scripts/package-latest-version.js ${ pkgFile.name } ${ pkgFile.version }", + "publish": [ + { + "command": "cargo build --release", + "dryRunCommand": true }, - "nsis_download": { - "path": "./crates/nsis-download", - "manager": "rust", - "assets": [ - { - "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", - "name": "${ pkg.pkg }.dll" - } - ] + { + "command": "echo 'SHA1: `'", + "dryRunCommand": true, + "pipe": true }, - "nsis_process": { - "path": "./crates/nsis-process", - "manager": "rust", - "assets": [ - { - "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", - "name": "${ pkg.pkg }.dll" - } - ] + { + "command": "powershell -Command 'Get-FileHash -Algorithm SHA1 \"../../target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll\" | Select -ExpandProperty Hash'", + "dryRunCommand": true, + "pipe": true }, - "nsis_semvercompare": { - "path": "./crates/nsis-semvercompare", - "manager": "rust", - "assets": [ - { - "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", - "name": "${ pkg.pkg }.dll" - } - ] + { + "command": "echo '`'", + "dryRunCommand": true, + "pipe": true + } + ], + "postpublish": [ + "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f", + "git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f", + "git push --tags -f" + ] + } + }, + "packages": { + "nsis_tauri_utils": { + "path": "./crates/nsis-tauri-utils", + "manager": "rust", + "assets": [ + { + "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", + "name": "${ pkg.pkg }.dll" + } + ] + }, + "nsis_download": { + "path": "./crates/nsis-download", + "manager": "rust", + "assets": [ + { + "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", + "name": "${ pkg.pkg }.dll" + } + ] + }, + "nsis_process": { + "path": "./crates/nsis-process", + "manager": "rust", + "assets": [ + { + "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", + "name": "${ pkg.pkg }.dll" + } + ] + }, + "nsis_semvercompare": { + "path": "./crates/nsis-semvercompare", + "manager": "rust", + "assets": [ + { + "path": "target/i686-pc-windows-msvc/release/${ pkg.pkg }.dll", + "name": "${ pkg.pkg }.dll" } + ] } + } } diff --git a/crates/nsis-tauri-utils/Cargo.toml b/crates/nsis-tauri-utils/Cargo.toml index 768d0ef..6b2d0c9 100644 --- a/crates/nsis-tauri-utils/Cargo.toml +++ b/crates/nsis-tauri-utils/Cargo.toml @@ -2,19 +2,19 @@ name = "nsis-tauri-utils" version = "0.1.1" - [package.authors] - workspace = true +[package.authors] +workspace = true - [package.edition] - workspace = true +[package.edition] +workspace = true - [package.license] - workspace = true +[package.license] +workspace = true [lib] -crate-type = [ "cdylib" ] +crate-type = ["cdylib"] [dependencies] -nsis-download = { version = "*", path = "../nsis-download" } -nsis-process = { version = "*", path = "../nsis-process" } -nsis-semvercompare = { version = "*", path = "../nsis-semvercompare" } +nsis-download = { path = "../nsis-download" } +nsis-process = { path = "../nsis-process" } +nsis-semvercompare = { path = "../nsis-semvercompare" }