kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
style: Cleanup script, remove unused functions
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2698>environments/review-docs-renov-r6aeyi/deployments/19166
rodzic
daf9e80ca5
commit
c3ae40cabe
|
@ -16,12 +16,6 @@ PACKAGE_REGISTRY_URL="$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic"
|
|||
PACKAGE_NAME="funkwhale"
|
||||
PACKAGE_VERSION="$CI_COMMIT_REF_NAME"
|
||||
|
||||
join_by() {
|
||||
local IFS="$1"
|
||||
shift
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
# publish_asset <asset> <file>
|
||||
publish_asset() {
|
||||
echo "publishing release asset $asset"
|
||||
|
@ -41,11 +35,6 @@ release_asset_json() {
|
|||
"$PACKAGE_REGISTRY_URL/$PACKAGE_NAME/$PACKAGE_VERSION/$1"
|
||||
}
|
||||
|
||||
# release_json <release_assets_json>
|
||||
release_json() {
|
||||
printf '{"name": "%s", "tag_name": "%s", "assets": { "links": [%s]}}' "$PACKAGE_VERSION" "$PACKAGE_VERSION" "$1"
|
||||
}
|
||||
|
||||
release_assets=()
|
||||
for asset_path in dist/*; do
|
||||
asset="$(basename "$asset_path")"
|
||||
|
|
Ładowanie…
Reference in New Issue