forked from ungleich-public/cdist
++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
2c54e91df1
commit
2d3e5439a7
2 changed files with 6 additions and 22 deletions
|
@ -142,8 +142,6 @@ eof
|
|||
|
||||
freecode-release)
|
||||
version=$1; shift
|
||||
api_token=$(awk '/machine freecode login/ { print $8 }' ~/.netrc)
|
||||
|
||||
printf "Enter tag list for freecode release %s> " "$version"
|
||||
read taglist
|
||||
|
||||
|
@ -151,26 +149,9 @@ eof
|
|||
read changelog
|
||||
|
||||
echo "Submit preview"
|
||||
cat << eof
|
||||
tag_list = $taglist
|
||||
changelog = $changelog
|
||||
version = $version
|
||||
eof
|
||||
printf "Press enter to submit to freecode> "
|
||||
read dummy
|
||||
|
||||
cat << eof | cfreecode-api release-add cdist
|
||||
{
|
||||
"auth_code": "$api_token",
|
||||
"release": {
|
||||
"tag_list": "$taglist",
|
||||
"version": "$version",
|
||||
"changelog": "$changelog",
|
||||
"hidden_from_frontpage": false
|
||||
}
|
||||
}
|
||||
eof
|
||||
|
||||
python2 $(which freecode-submit) -P cdist \
|
||||
-v "$version" -c "$changelog" \
|
||||
-t "$taglist"
|
||||
;;
|
||||
|
||||
release-git-tag)
|
||||
|
|
|
@ -5,6 +5,9 @@ Changelog
|
|||
* Exception: No braces means author == Nico Schottelius
|
||||
|
||||
|
||||
3.1.4:
|
||||
* Documentation: Cleanup up, added HTML links (Tomas Pospisek)
|
||||
|
||||
3.1.3: 2014-04-29
|
||||
* New Type: __yum_repo (Steven Armstrong)
|
||||
* Type __hostname: Add support for CentOS
|
||||
|
|
Loading…
Reference in a new issue