Skip to content

Commit

Permalink
Use explicit format string indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
justinas committed Mar 16, 2022
1 parent 1bba301 commit 85a0525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dronegen/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ for file in $(find . -type f ! -iname '*.sha256' ! -iname '*-unsigned.zip*'); do
fi
shasum="$(cat "$file.sha256" | cut -d ' ' -f 1)"
curl $CREDENTIALS --fail -o /dev/null -F description="%s" -F os="%s" -F arch="%s" -F "file=@$file" -F "sha256=$shasum" "$RELEASES_HOST/assets";
curl $CREDENTIALS --fail -o /dev/null -F description="%[1]s" -F os="%[2]s" -F arch="%[3]s" -F "file=@$file" -F "sha256=$shasum" "$RELEASES_HOST/assets";
for product in $products; do
status_code=$(curl $CREDENTIALS -o "$WORKSPACE_DIR/curl_out.txt" -w "%%{http_code}" -F "product=$product" -F "version=$VERSION" -F notesMd="# Teleport $VERSION" -F status=draft "$RELEASES_HOST/releases")
Expand Down

0 comments on commit 85a0525

Please sign in to comment.