Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr committed Sep 26, 2023
1 parent 0dc3acc commit bc066ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ jobs:
if: ${{ github.event.inputs.skip_publish == 'false' }}
run: |
for pkg in $(ls dist | cut -f1,2 -d_ | uniq); do
echo "Publishing $pkg"
PROVIDER=$(echo $pkg | cut -f1 -d_)
VERSION=$REPO_VERSION
VERSION=$(echo $pkg | cut -f2 -d_)
echo "Publishing $pkg: $PROVIDER $VERSION"
echo "Publishing $pkg to gs://${BUCKET}/providers/${PROVIDER}/${VERSION}/"
gsutil -m cp -c dist/${pkg}*.xz gs://${BUCKET}/providers/${PROVIDER}/${VERSION}/
gsutil -m cp -c dist/${pkg}_SHA256SUMS gs://${BUCKET}/providers/${PROVIDER}/${VERSION}/
echo "Publishing $pkg to gs://${BUCKET}/providers/${PROVIDER}/${PROVIDER}_${VERSION}/"
gsutil -m cp -c dist/${pkg}*.xz gs://${BUCKET}/providers/${PROVIDER}/${PROVIDER}_${VERSION}/
gsutil -m cp -c dist/${pkg}_SHA256SUMS gs://${BUCKET}/providers/${PROVIDER}/${PROVIDER}_${VERSION}/
done
- name: 'Save Artifacts'
Expand Down

0 comments on commit bc066ab

Please sign in to comment.