Skip to content

Commit

Permalink
chore: add docker image to release note
Browse files Browse the repository at this point in the history
  • Loading branch information
sileht committed Oct 9, 2020
1 parent 0fe1f71 commit 5e99093
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,15 @@ yarn run standard-version -r $kind
tag=$(cat package.json | jq -r .version)

sed -ne "/^## $tag/,/^##.*202/p" CHANGELOG.md | sed -e '$d' -e '1d' > note.md

cat >> note.md <<EOF
### Docker images:
* CPU version: `docker pull jolibrain/deepdetect_cpu:$tag`
* GPU (CUDA only): `docker pull jolibrain/deepdetect_gpu:$tag`
* GPU (CUDA and Tensorrt) :`docker pull jolibrain/deepdetect_cpu_tensorrt:$tag`
* All images available on https://hub.docker.com/u/jolibrain
EOF

trap "rm -f note.md" EXIT
gh release create --title "DeepDetect v$tag" -F note.md -d v$tag

0 comments on commit 5e99093

Please sign in to comment.