@@ -18,7 +18,7 @@ docker run --user $(id -u ${USER}):$(id -g ${USER}) -v ${PWD}/goroot:/go/ --rm g
18
18
BASE=$PWD
19
19
# # setup our package properties by distro
20
20
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} "
22
22
VERSION=$( cat ./VERSION)
23
23
24
24
@@ -31,7 +31,7 @@ aws s3api put-object \
31
31
--cache-control=" max-age=300" \
32
32
--content-type=" application/octet-stream" \
33
33
--body " ./artifacts/${PKG_NAME} .tar.gz" \
34
- --key " ${DST_BUCKET } /${PKG_NAME} _${VERSION} .tar.gz" \
34
+ --key " ${DEST_BUCKET } /${PKG_NAME} _${VERSION} .tar.gz" \
35
35
--grant-full-control id=" ${SIGSCI_PROD_CANONICAL_ID} "
36
36
37
37
# Metadata files
@@ -40,15 +40,15 @@ aws s3api put-object \
40
40
--cache-control=" max-age=300" \
41
41
--content-type=" text/plain; charset=UTF-8" \
42
42
--body " VERSION" \
43
- --key " ${DST_BUCKET } /VERSION" \
43
+ --key " ${DEST_BUCKET } /VERSION" \
44
44
--grant-full-control id=" ${SIGSCI_PROD_CANONICAL_ID} "
45
45
46
46
aws s3api put-object \
47
47
--bucket " ${DEST_BUCKET} " \
48
48
--cache-control=" max-age=300" \
49
49
--content-type=" text/plain; charset=UTF-8" \
50
50
--body " CHANGELOG.md" \
51
- --key " ${DST_BUCKET } /CHANGELOG.md" \
51
+ --key " ${DEST_BUCKET } /CHANGELOG.md" \
52
52
--grant-full-control id=" ${SIGSCI_PROD_CANONICAL_ID} "
53
53
54
54
0 commit comments