Skip to content

Commit

Permalink
deb rpm: allow to override existing artifacts
Browse files Browse the repository at this point in the history
It accept to override existing artifacts.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Jul 1, 2024
1 parent bf234ac commit 860f022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fluent-package/manage-fluent-repositories.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ EOF
rm -f $package.zip &&
curl --silent --location --output $package.zip \
-H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" $download_url &&
unzip -u $package.zip)
unzip -u -o $package.zip)
;;
*centos*|*rockylinux*|*almalinux*|*amazonlinux*)
mkdir -p yum/repositories
(cd yum/repositories &&
rm -f $package.zip &&
curl --silent --location --output $package.zip \
-H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" $download_url &&
unzip -u $package.zip)
unzip -u -o $package.zip)
;;
*)
curl --silent --location --output $package.zip \
Expand Down

0 comments on commit 860f022

Please sign in to comment.