This repository was archived by the owner on Dec 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3333 name : " Publish Release on GitHub"
3434 command : |
3535 go get github.com/tcnksm/ghr
36- VERSION=$(git describe --tags `git rev-list --tags --max-count=1` )
36+ VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r" )
3737 ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} /tmp/artifacts
3838workflows :
3939 version : 2
Original file line number Diff line number Diff line change 4040 cat <<EOF > Dockerfile
4141 FROM amazonlinux
4242
43- RUN LATEST_VERSION=$(curl -I https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r" ) \
43+ RUN LATEST_VERSION=$(curl -sI https://github.com/triggermesh/aws-custom-runtime/releases/latest | grep "Location:" | awk -F "/" '{print $NF}' | tr -d "\r" ) \
4444 && curl -sL https://github.com/triggermesh/aws-custom-runtime/releases/download/\${LATEST_VERSION}/aws-custom-runtime > /opt/aws-custom-runtime \
4545 && chmod +x /opt/aws-custom-runtime
4646
You can’t perform that action at this time.
0 commit comments