mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 08:48: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'
|
||||
uses: snapcore/action-build@v1
|
||||
with:
|
||||
path: packages/snap
|
||||
path: packaging/snap
|
||||
|
||||
- name: Prepare Snap Output
|
||||
if: matrix.package_type == 'snap'
|
||||
@@ -371,7 +371,7 @@ jobs:
|
||||
with:
|
||||
usesh: true
|
||||
run: |
|
||||
pkg install -y rust
|
||||
pkg install -y rust perl gmake
|
||||
cargo build --release
|
||||
|
||||
- name: Prepare FreeBSD Artifact
|
||||
@@ -388,7 +388,7 @@ jobs:
|
||||
with:
|
||||
usesh: true
|
||||
run: |
|
||||
pkg_add rust
|
||||
pkg_add rust perl gmake
|
||||
cargo build --release
|
||||
|
||||
- name: Prepare OpenBSD Artifact
|
||||
@@ -405,7 +405,7 @@ jobs:
|
||||
with:
|
||||
usesh: true
|
||||
run: |
|
||||
pkgin -y install rust
|
||||
pkgin -y install rust perl gmake
|
||||
cargo build --release
|
||||
|
||||
- name: Prepare NetBSD Artifact
|
||||
|
||||
@@ -23,13 +23,13 @@ assets = [
|
||||
["target/release/dcr", "usr/bin/dcr", "755"],
|
||||
]
|
||||
|
||||
[package.metadata.rpm]
|
||||
[package.metadata.generate-rpm]
|
||||
summary = "Cargo-like utility to manage C/C++ projects"
|
||||
description = """
|
||||
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" }
|
||||
|
||||
[dependencies]
|
||||
|
||||
Reference in New Issue
Block a user