chore: modify the directory of release bucket and remove unused files (#2059)

This commit is contained in:
zyy17
2023-08-01 21:07:13 +08:00
committed by GitHub
parent a3fa455f31
commit 7d76131469
2 changed files with 3 additions and 90 deletions

View File

@@ -66,7 +66,7 @@ runs:
- name: Upload artifacts to S3
shell: bash
# The bucket layout will be:
# releases
# releases/greptimedb
# ├── v0.1.0
# │ ├── greptime-darwin-amd64-pyo3-v0.1.0.sha256sum
# │ └── greptime-darwin-amd64-pyo3-v0.1.0.tar.gz
@@ -76,7 +76,7 @@ runs:
run: |
aws s3 cp \
${{ inputs.artifacts-dir }}.tar.gz \
s3://${{ inputs.release-to-s3-bucket }}/releases/${{ inputs.version }}/${{ inputs.artifacts-dir }}.tar.gz && \
s3://${{ inputs.release-to-s3-bucket }}/releases/greptimedb/${{ inputs.version }}/${{ inputs.artifacts-dir }}.tar.gz && \
aws s3 cp \
${{ inputs.artifacts-dir }}.sha256sum \
s3://${{ inputs.release-to-s3-bucket }}/releases/${{ inputs.version }}/${{ inputs.artifacts-dir }}.sha256sum
s3://${{ inputs.release-to-s3-bucket }}/releases/greptimedb/${{ inputs.version }}/${{ inputs.artifacts-dir }}.sha256sum