Skip to content
Snippets Groups Projects
Unverified Commit a0928148 authored by Ian Douglas Scott's avatar Ian Douglas Scott
Browse files

Create package metadata file

parent cad99ecf
No related branches found
No related tags found
1 merge request!9Use "pkg create" and generate package metadata file
......@@ -195,10 +195,14 @@ function op {
rm -rfv stage
;;
tar)
mkdir -p stage/etc/pkg.d
echo "name = \"$1\"" > "stage/etc/pkg.d/$1.toml"
echo "version = \"$(op $1 version)\"" >> "stage/etc/pkg.d/$1.toml"
echo "target = \"$TARGET\"" >> "stage/etc/pkg.d/$1.toml"
$ROOT/pkgutils/target/release/pkg create stage
;;
untar)
rm -rfv stage.tar
rm -rfv stage.tar stage.sig
;;
publish)
mkdir -p "$REPO"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment