| 1 |
#!/usr/bin/env -S just --justfile |
| 2 |
# SPDX-License-Identifier: GPL-2.0-only |
| 3 |
# Copyright (c) 2024 Greg Kroah-Hartman <[email protected]> |
| 4 |
# |
| 5 |
# justfile to help remember how to do some maintenance stuff when releasing or |
| 6 |
# maintaining the usbutils package |
| 7 |
# |
| 8 |
|
| 9 |
# show the list of options |
| 10 |
_help: |
| 11 |
@just --list |
| 12 |
|
| 13 |
|
| 14 |
# Do a release by signing the tarball and uploading to kernel.org |
| 15 |
@release *version='': |
| 16 |
# just echo stuff for now, need to turn this into a real script... |
| 17 |
echo "$ gpg -a -b usbutils-014.tar" |
| 18 |
echo "$ kup [email protected] --subcmd=kup-server put usbutils-014.tar usbutils-014.tar.asc /pub/linux/utils/usb/usbutils/usbutils-014.tar.gz" |
| 19 |
|
| 20 |
|
| 21 |
# Update the usbutils.spdx file |
| 22 |
@spdx: |
| 23 |
reuse spdx --creator-organization="The Linux Foundation" --creator-person="Greg Kroah-Hartman <[email protected]>" > usbutils.spdx |
| 24 |
|
| 25 |
|
| 26 |
# Run the "reuse lint" tool |
| 27 |
@lint: |
| 28 |
reuse lint |