Skip to content

Commit

Permalink
security(issue-234): Do NOT package current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanilves committed Apr 2, 2022
1 parent 7e7b7f5 commit caa59e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/github-upload-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ID=$(curl -s -H "Authorization: Token ${GITHUB_TOKEN}" "${API_URL}/tags/${TAG}"

pushd "${ASSETS_PATH}"
for DIR in $(find -mindepth 1 -maxdepth 1 -type d); do
tar -C "${DIR}" -zc . -f "${DIR}-$(cat ../release/NAME).tar.gz"
tar -C "${DIR}" -zc lstags -f "${DIR}-$(cat ../release/NAME).tar.gz"
done

for FILE in $(find -mindepth 1 -maxdepth 1 -type f); do
Expand Down

0 comments on commit caa59e9

Please sign in to comment.