Skip to content

Commit

Permalink
Exclude goreleaser control files (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
shore committed Mar 31, 2022
1 parent 163df49 commit a56a5a8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/generate-metadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ else
changelogurl=""
fi

# XXX we don't support JSON artifacts yet; RDX-400
/bin/rm -f "$ARTIFACT_DIR"/*.json
# Remove the .json and .yaml files created by goreleaser in the artifact
# directory; we don't publish those
/bin/rm -f \
"$ARTIFACT_DIR"/artifacts.json \
"$ARTIFACT_DIR"/metadata.json \
"$ARTIFACT_DIR"/config.yaml
find "$ARTIFACT_DIR" -type d -mindepth 1 -maxdepth 1 -print0 \
| xargs -0 /bin/rm -rf

bob generate-release-metadata -metadata-file "meta.json" \
-in-dir "$ARTIFACT_DIR" -out-file "release-metadata-final.json" \
Expand Down

0 comments on commit a56a5a8

Please sign in to comment.