#!/bin/bash set -euo pipefail cat <> $PLATFORMS_FILE fi done } setup_dependabot_config() { mkdir -p $(dirname $DEPENDABOT_FILE) cat < $workflow_file echo "If not already done, go to https://crates.io/crates/$crate_name/settings and add $(basename $workflow_file) as a trusted publisher!" fi done else question="Single crate repository detected, setup running 'cargo publish' at repository root when tags matching 'v*' are published? (if a .github/workflows/publish.yml file already exists, it will be overwritten)" if confirm "$question"; then cp $RUST_VMM_CI/publish.yml .github/workflows/publish.yml fi fi fi