mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
5ac9c9ea7f
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
24 lines
779 B
Bash
Executable file
24 lines
779 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -exou pipefail
|
|
|
|
# Download the release-notes for our specific build
|
|
curl -o release-notes.md "https://packages.chef.io/release-notes/${EXPEDITOR_PRODUCT_KEY}/${EXPEDITOR_VERSION}.md"
|
|
|
|
topic_title="Chef InSpec $EXPEDITOR_VERSION Released!"
|
|
topic_body=$(cat <<EOH
|
|
Hello InSpec friends!
|
|
We are delighted to announce the availability of version $EXPEDITOR_VERSION of Chef InSpec. Changes include:
|
|
$(cat release-notes.md)
|
|
---
|
|
## Get the Build
|
|
|
|
You can download binaries directly from [Chef Downloads](https://www.chef.io/downloads/tools/$EXPEDITOR_PRODUCT_KEY?v=$EXPEDITOR_VERSION).
|
|
EOH
|
|
)
|
|
|
|
# Use Expeditor's built in Bash helper to post our message: https://git.io/JvxPm
|
|
post_discourse_release_announcement "$topic_title" "$topic_body"
|
|
|
|
# Cleanup
|
|
rm release-notes.md
|