mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 14:38:30 +00:00
feat: update package metadata for RPM generation in Cargo.toml and fix snap package path
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -211,7 +211,7 @@ jobs:
|
|||||||
if: matrix.package_type == 'snap'
|
if: matrix.package_type == 'snap'
|
||||||
uses: snapcore/action-build@v1
|
uses: snapcore/action-build@v1
|
||||||
with:
|
with:
|
||||||
path: packages/snap
|
path: packaging/snap
|
||||||
|
|
||||||
- name: Prepare Snap Output
|
- name: Prepare Snap Output
|
||||||
if: matrix.package_type == 'snap'
|
if: matrix.package_type == 'snap'
|
||||||
@@ -371,7 +371,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
usesh: true
|
usesh: true
|
||||||
run: |
|
run: |
|
||||||
pkg install -y rust
|
pkg install -y rust perl gmake
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
- name: Prepare FreeBSD Artifact
|
- name: Prepare FreeBSD Artifact
|
||||||
@@ -388,7 +388,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
usesh: true
|
usesh: true
|
||||||
run: |
|
run: |
|
||||||
pkg_add rust
|
pkg_add rust perl gmake
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
- name: Prepare OpenBSD Artifact
|
- name: Prepare OpenBSD Artifact
|
||||||
@@ -405,7 +405,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
usesh: true
|
usesh: true
|
||||||
run: |
|
run: |
|
||||||
pkgin -y install rust
|
pkgin -y install rust perl gmake
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
- name: Prepare NetBSD Artifact
|
- name: Prepare NetBSD Artifact
|
||||||
|
|||||||
@@ -23,13 +23,13 @@ assets = [
|
|||||||
["target/release/dcr", "usr/bin/dcr", "755"],
|
["target/release/dcr", "usr/bin/dcr", "755"],
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata.rpm]
|
[package.metadata.generate-rpm]
|
||||||
summary = "Cargo-like utility to manage C/C++ projects"
|
summary = "Cargo-like utility to manage C/C++ projects"
|
||||||
description = """
|
description = """
|
||||||
Cargo-like utility to manage C/C++ projects.
|
Cargo-like utility to manage C/C++ projects.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[package.metadata.rpm.files]
|
[package.metadata.generate-rpm.files]
|
||||||
"/usr/bin/dcr" = { source = "target/release/dcr", mode = "755" }
|
"/usr/bin/dcr" = { source = "target/release/dcr", mode = "755" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
Reference in New Issue
Block a user