Skip to content

Commit cbe2311

Browse files
fix dest bucket
1 parent 9f80cd0 commit cbe2311

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

make.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ docker run --user $(id -u ${USER}):$(id -g ${USER}) -v ${PWD}/goroot:/go/ --rm g
1818
BASE=$PWD
1919
## setup our package properties by distro
2020
PKG_NAME="sigsci-module-golang"
21-
DST_BUCKET="s3://package-build-artifacts/${PKG_NAME}/${GITHUB_RUN_NUMBER}"
21+
DEST_BUCKET="s3://package-build-artifacts/${PKG_NAME}/${GITHUB_RUN_NUMBER}"
2222
VERSION=$(cat ./VERSION)
2323

2424

@@ -31,7 +31,7 @@ aws s3api put-object \
3131
--cache-control="max-age=300" \
3232
--content-type="application/octet-stream" \
3333
--body "./artifacts/${PKG_NAME}.tar.gz" \
34-
--key "${DST_BUCKET}/${PKG_NAME}_${VERSION}.tar.gz" \
34+
--key "${DEST_BUCKET}/${PKG_NAME}_${VERSION}.tar.gz" \
3535
--grant-full-control id="${SIGSCI_PROD_CANONICAL_ID}"
3636

3737
# Metadata files
@@ -40,15 +40,15 @@ aws s3api put-object \
4040
--cache-control="max-age=300" \
4141
--content-type="text/plain; charset=UTF-8" \
4242
--body "VERSION" \
43-
--key "${DST_BUCKET}/VERSION" \
43+
--key "${DEST_BUCKET}/VERSION" \
4444
--grant-full-control id="${SIGSCI_PROD_CANONICAL_ID}"
4545

4646
aws s3api put-object \
4747
--bucket "${DEST_BUCKET}" \
4848
--cache-control="max-age=300" \
4949
--content-type="text/plain; charset=UTF-8" \
5050
--body "CHANGELOG.md" \
51-
--key "${DST_BUCKET}/CHANGELOG.md" \
51+
--key "${DEST_BUCKET}/CHANGELOG.md" \
5252
--grant-full-control id="${SIGSCI_PROD_CANONICAL_ID}"
5353

5454

0 commit comments

Comments
 (0)