Files
demus-packaging/go2rpm-vendor-update.sh
T
demus 55bdece93f
Build and provide rpm of demus-packaging-utils / Build and deploy an rpm to the demus.dk repo (f44) (release) Successful in 24s
Build and provide rpm of demus-packaging-utils / Build and deploy an rpm to the demus.dk repo (rawhide) (release) Successful in 25s
Switch vendor archive update from alias to command and rename
2026-06-05 16:17:24 +02:00

9 lines
339 B
Bash

#!/bin/bash
# Update go vendor archive and config emulating the way go2rpm does it
if [ $# -ne 1 ] || ! [[ "$1" =~ .*.\.spec$ ]] || [ ! -f "$1" ]; then
echo "Required spec parameter missing"
echo "Usage: go2rpm-vendor-update <specfile>.spec"
exit 1
fi
go_vendor_archive create --config go-vendor-tools.toml --write-config "$1"