Skip to content

Commit

Permalink
rename terraform bucket to shinny-terraform in shanghai region
Browse files Browse the repository at this point in the history
  • Loading branch information
shinny-taojiachun committed Dec 14, 2023
1 parent 5fed475 commit 7d2ae6f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/shinny_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
-
name: Prepare versions
run: |
ossutil cp oss://shinnyterraform/providers/v1/shinnytech/alicloud/versions versions
ossutil cp oss://shinny-terraform/providers/v1/shinnytech/alicloud/versions versions
export VERSION=${{ github.ref_name }}
cat versions | jq --arg VERSION $VERSION 'del(.versions[] | select(.version==$VERSION))' | jq --arg VERSION $VERSION '.versions[.versions| length] |= . +{version:$VERSION,protocols:["5.0"],platform:[{os:"linux",arch:"amd64"}]}' > versions.new
Expand All @@ -75,11 +75,11 @@ jobs:
-
name: Upload files
run: |
ossutil cp -f dist/terraform-provider-alicloud_${{ github.ref_name }}_SHA256SUMS oss://shinnyterraform/providers/v1/shinnytech/alicloud/${{ github.ref_name }}/download/linux/SHA256SUM
ossutil cp -f dist/terraform-provider-alicloud_${{ github.ref_name }}_SHA256SUMS.sig oss://shinnyterraform/providers/v1/shinnytech/alicloud/${{ github.ref_name }}/download/linux/SHA256SUM.sig
ossutil cp -f dist/terraform-provider-alicloud_${{ github.ref_name }}_linux_amd64.zip oss://shinnyterraform/terraform-provider-alicloud_${{ github.ref_name }}_linux_amd64.zip
ossutil cp -f amd64.new oss://shinnyterraform/providers/v1/shinnytech/alicloud/${{ github.ref_name }}/download/linux/amd64
ossutil cp -f versions.new oss://shinnyterraform/providers/v1/shinnytech/alicloud/versions
ossutil cp -f dist/terraform-provider-alicloud_${{ github.ref_name }}_SHA256SUMS oss://shinny-terraform/providers/v1/shinnytech/alicloud/${{ github.ref_name }}/download/linux/SHA256SUM
ossutil cp -f dist/terraform-provider-alicloud_${{ github.ref_name }}_SHA256SUMS.sig oss://shinny-terraform/providers/v1/shinnytech/alicloud/${{ github.ref_name }}/download/linux/SHA256SUM.sig
ossutil cp -f dist/terraform-provider-alicloud_${{ github.ref_name }}_linux_amd64.zip oss://shinny-terraform/terraform-provider-alicloud_${{ github.ref_name }}_linux_amd64.zip
ossutil cp -f amd64.new oss://shinny-terraform/providers/v1/shinnytech/alicloud/${{ github.ref_name }}/download/linux/amd64
ossutil cp -f versions.new oss://shinny-terraform/providers/v1/shinnytech/alicloud/versions
Expand Down

0 comments on commit 7d2ae6f

Please sign in to comment.