Skip to content

Commit

Permalink
update(ci): use createrepo_c in centos7. (#1860)
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored Mar 30, 2022
1 parent 773559a commit 332c2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/release_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ aws s3 sync s3://$S3_BUCKET/$REPOSITORY_NAME/rpm/$RPM_BASEARCH/ $REPOSITORY_DIR/
# ls -1tdr $REPOSITORY_DIR/rpm/$RPM_BASEARCH/*sysdig*.rpm | head -n -5 | xargs -d '\n' rm -f || true

cp $PACKAGES_DIR/*rpm $REPOSITORY_DIR/rpm/$RPM_BASEARCH
createrepo $REPOSITORY_DIR/rpm/$RPM_BASEARCH
createrepo_c $REPOSITORY_DIR/rpm/$RPM_BASEARCH

# create repomd.xml.asc
gpg --local-user $KEY_ID --batch --no-tty --yes --detach-sign --armor $REPOSITORY_DIR/rpm/$RPM_BASEARCH/repodata/repomd.xml
Expand Down

0 comments on commit 332c2ea

Please sign in to comment.