makerelease.sh 628 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. srcdir="$(realpath "$0" | xargs dirname)"
  3. srcdir="$srcdir/.."
  4. # Import the makerelease.lib
  5. # https://bues.ch/cgit/misc.git/tree/makerelease.lib
  6. die() { echo "$*"; exit 1; }
  7. for path in $(echo "$PATH" | tr ':' ' '); do
  8. [ -f "$MAKERELEASE_LIB" ] && break
  9. MAKERELEASE_LIB="$path/makerelease.lib"
  10. done
  11. [ -f "$MAKERELEASE_LIB" ] && . "$MAKERELEASE_LIB" || die "makerelease.lib not found."
  12. hook_get_version()
  13. {
  14. version="$(cargo_local_pkg_version letmein)"
  15. }
  16. project=letmein
  17. conf_upload_packages="letmein-proto letmein-fwproto letmein-conf letmein-systemd letmein-seccomp letmein letmeinfwd letmeind"
  18. makerelease "$@"