Skip to content

Commit 6361ba0

Browse files
committed
Generate Cargo.lock for easy package updates under NetBSD
1 parent 0b65095 commit 6361ba0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/cd.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ jobs:
8282
use-cross: ${{ matrix.job.use-cross }}
8383
args: --release --target ${{ matrix.job.target }}
8484

85+
- name: Generate Cargo Lockfile for easy package updates under NetBSD
86+
shell: bash
87+
run: |
88+
cargo generate-lockfile
89+
8590
- name: Packaging final binary
8691
shell: bash
8792
env:

.github/workflows/pack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ pack() {
3535
cp README.md "$tempdir/$package_name"
3636
cp LICENSE.md "$tempdir/$package_name"
3737

38+
# Cargo.lock for easy updating NetBSD packages
39+
cp Cargo.lock "$tempdir/$package_name"
40+
3841
# archiving
3942
pushd "$tempdir"
4043
if [ "$OS_NAME" = windows-latest ]; then

0 commit comments

Comments
 (0)