github.com/alibaba/sealer@v0.8.6-0.20220430115802-37a2bdaa8173/note.sh (about) 1 #!/bin/bash 2 3 # Copyright © 2021 Alibaba Group Holding Ltd. 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 17 # Author:wangfei 18 # Time:2021-11-15 19 # Name:./note.sh 20 # Description:This is a production script. 21 echo " 22 ### Usage" >> release_note.md 23 echo " 24 \`\`\`sh 25 # Download and install sealer. Sealer is a binary tool of golang. You can download and unzip it directly to the bin directory, and the release page can also be downloaded 26 $ wget -c https://sealer.oss-cn-beijing.aliyuncs.com/sealers/sealer-v${VERSION}-linux-amd64.tar.gz && \\ 27 tar -xvf sealer-v${VERSION}-linux-amd64.tar.gz -C /usr/bin 28 \`\`\` 29 " >> release_note.md 30 echo "### [amd64 Download address]" >> release_note.md 31 echo "[OSS Download address](http://sealer.oss-cn-beijing.aliyuncs.com/sealers/sealer-v${VERSION}-linux-amd64.tar.gz)" >> release_note.md 32 echo "### [arm64 Download address]" >> release_note.md 33 echo "[OSS Download address](http://sealer.oss-cn-beijing.aliyuncs.com/sealers/sealer-v${VERSION}-linux-arm64.tar.gz)" >> release_note.md