pekko/scripts/create-release-issue.sh
Arnout Engelen 39b4a5c57a
Publish from GitHub Actions (#30288)
* Publish from GitHub Actions

* Break out instructions into release train issue template
2021-06-08 09:05:16 +02:00

10 lines
293 B
Bash

#!/bin/bash
VERSION=$1
if [ -z $VERSION ]
then
echo specify the version name to be released, eg. 1.0.0
else
sed -e 's/\$VERSION\$/'$VERSION'/g' scripts/release-train-issue-template$2.md > /tmp/release-$VERSION.md
echo Created $(hub issue create -F /tmp/release-$VERSION.md --browse)
fi