Skip to content

Commit

Permalink
Minor tweaks to shipit script
Browse files Browse the repository at this point in the history
- whitespace align the releases yaml block
- restore release name in name file
  • Loading branch information
dennisjbell authored and jhunt committed Mar 14, 2018
1 parent 30bbcdb commit 02784a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions boshrelease/scripts/shipit
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@ echo "SHA1=$SHA1"

mkdir -p ${RELEASE_ROOT}/artifacts
echo "v${VERSION}" > ${RELEASE_ROOT}/tag
echo "v${VERSION}" > ${RELEASE_ROOT}/name
echo "${RELEASE_NAME} v${VERSION}" > ${RELEASE_ROOT}/name
mv ${REPO_ROOT}/releases/*/*-${VERSION}.tgz ${RELEASE_ROOT}/artifacts
mv ${REPO_ROOT}/ci/release_notes.md ${RELEASE_ROOT}/notes.md
cat >> ${RELEASE_ROOT}/notes.md <<EOF
### Deployment
\`\`\`yaml
releases:
- name: $RELEASE_NAME
- name: $RELEASE_NAME
version: $VERSION
url: https://github.com/${GITHUB_OWNER}/${RELEASE_NAME}-boshrelease/releases/download/v${VERSION}/${RELEASE_NAME}-${VERSION}.tgz
sha1: $SHA1
url: https://github.com/${GITHUB_OWNER}/${RELEASE_NAME}-boshrelease/releases/download/v${VERSION}/${RELEASE_NAME}-${VERSION}.tgz
sha1: $SHA1
\`\`\`
EOF
cat > ${RELEASE_ROOT}/notification <<EOF
Expand Down

0 comments on commit 02784a7

Please sign in to comment.