ci: Use temp.sh

This commit is contained in:
Anmol Sethi 2022-12-05 22:21:06 -08:00
parent b90c37d4a0
commit 636a4ce224
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA
2 changed files with 2 additions and 2 deletions

View file

@ -452,7 +452,7 @@ fetch_release_info() {
fi
log "fetching info on $VERSION version of $REPO"
RELEASE_INFO=$(mktemp -d)/release-info.json
RELEASE_INFO=$(mktempd)/release-info.json
if [ "$VERSION" = latest ]; then
release_info_url="https://api.github.com/repos/$REPO/releases/$VERSION"
else

View file

@ -1031,7 +1031,7 @@ fetch_release_info() {
fi
log "fetching info on $VERSION version of $REPO"
RELEASE_INFO=$(mktemp -d)/release-info.json
RELEASE_INFO=$(mktempd)/release-info.json
if [ "$VERSION" = latest ]; then
release_info_url="https://api.github.com/repos/$REPO/releases/$VERSION"
else