Skip to content

Commit

Permalink
Merge pull request #95 from kfox1111/fix-rsync
Browse files Browse the repository at this point in the history
Remove archive flag from rsync
  • Loading branch information
kfox1111 authored Feb 2, 2025
2 parents de7a630 + e46fb8c commit 191dd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
mkdir -p /tmp/oldpackages
docker run -i --rm -v /tmp:/tmp ghcr.io/spiffe/spire-examples/pages:latest /bin/bash -c 'cp -a /usr/share/nginx/html/RPMS /tmp/oldpackages/'
# Copy only packages that don't overwrite a previously released package. This prevents rereleasing a package.
rsync --ignore-existing -rav /tmp/packages/ /tmp/oldpackages/
rsync --ignore-existing -rv /tmp/packages/ /tmp/oldpackages/
rm -rf /tmp/packages
mv /tmp/oldpackages /packages
# Update repos
Expand Down

0 comments on commit 191dd41

Please sign in to comment.