From cf8d88613f0a91c680e4755bda945a2b53d78d17 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Tue, 6 Dec 2022 03:02:55 +0200 Subject: [PATCH] ci: install ubuntu deps in covector --- .changes/config.json | 94 +++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 45 deletions(-) diff --git a/.changes/config.json b/.changes/config.json index b264d5e..8d336d2 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -1,48 +1,52 @@ { - "gitSiteUrl": "https://www.github.com/tauri-apps/muda/", - "timeout": 3600000, - "pkgManagers": { - "rust": { - "version": true, - "getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -", - "publish": [ - { - "command": "cargo package --no-verify", - "dryRunCommand": true - }, - { - "command": "echo '
\n

Cargo Publish

\n\n```'", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "cargo publish", - "dryRunCommand": "cargo publish --dry-run", - "pipe": true - }, - { - "command": "echo '```\n\n
\n'", - "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": { - "muda": { - "path": ".", - "manager": "rust", - "assets": [ - { - "path": "${ pkg.path }/target/package/create-tauri-app-${ pkgFile.version }.crate", - "name": "${ pkg.pkg }-${ pkgFile.version }.crate" - } - ] - } + "gitSiteUrl": "https://www.github.com/tauri-apps/muda/", + "timeout": 3600000, + "pkgManagers": { + "rust": { + "version": true, + "getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -", + "prepublish": [ + "sudo apt-get update", + "sudo apt-get install -y libgtk-3-dev libxdo-dev" + ], + "publish": [ + { + "command": "cargo package --no-verify", + "dryRunCommand": true + }, + { + "command": "echo '
\n

Cargo Publish

\n\n```'", + "dryRunCommand": true, + "pipe": true + }, + { + "command": "cargo publish", + "dryRunCommand": "cargo publish --dry-run", + "pipe": true + }, + { + "command": "echo '```\n\n
\n'", + "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": { + "muda": { + "path": ".", + "manager": "rust", + "assets": [ + { + "path": "${ pkg.path }/target/package/muda-${ pkgFile.version }.crate", + "name": "${ pkg.pkg }-${ pkgFile.version }.crate" + } + ] + } + } } \ No newline at end of file