#!/bin/bash set -euo pipefail set -x fedpkg --release f36 srpm 2>&1 | tee fedpkg.output srpm_name=$(grep 'Wrote: ' fedpkg.output | cut -d' ' -f 2) copr-cli build --enable-net on @dotnet-sig/dotnet-preview "${srpm_name}"