File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -715,6 +715,7 @@ jobs:
715
715
- run :
716
716
name : Publish package
717
717
command : |
718
+ if [ -n "${CIRCLE_TAG}" ]; then tools/circle-install-packages.sh gh; fi
718
719
./tools/pkg/publish.sh
719
720
720
721
filters :
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ aws configure set default.region $AWS_DEFAULT_REGION
20
20
21
21
if [ -n " $CIRCLE_TAG " ]; then
22
22
aws s3 cp " ${PACKAGE_NAME} " " s3://mim-packages/tags/${CIRCLE_TAG} /${PACKAGE_NAME} " --acl public-read --quiet
23
+
24
+ echo " $GH_RELEASE_TOKEN " | gh auth login --with-token
25
+ gh release upload " ${CIRCLE_TAG} " " ${PACKAGE_NAME} " --repo " ${CIRCLE_PROJECT_USERNAME} /${CIRCLE_PROJECT_REPONAME} "
23
26
else
24
27
aws s3 cp " ${PACKAGE_NAME} " " s3://mim-packages/branches/${CIRCLE_BRANCH} /${prefix} /${PACKAGE_NAME} " --acl public-read --quiet
25
28
fi
You can’t perform that action at this time.
0 commit comments