You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
199B

  1. #!/bin/bash
  2. NAME=`grep -Po "project\('\K.*?(?=')" meson.build`
  3. VERSION=`grep -Po "version : '\K.*?(?=')" meson.build`
  4. git archive --prefix=${NAME}-${VERSION}/ -o ${NAME}_${VERSION}.orig.tar.xz HEAD