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)
|
freecode-release)
|
||||||
version=$1; shift
|
version=$1; shift
|
||||||
api_token=$(awk '/machine freecode login/ { print $8 }' ~/.netrc)
|
|
||||||
|
|
||||||
printf "Enter tag list for freecode release %s> " "$version"
|
printf "Enter tag list for freecode release %s> " "$version"
|
||||||
read taglist
|
read taglist
|
||||||
|
|
||||||
|
@ -151,26 +149,9 @@ eof
|
||||||
read changelog
|
read changelog
|
||||||
|
|
||||||
echo "Submit preview"
|
echo "Submit preview"
|
||||||
cat << eof
|
python2 $(which freecode-submit) -P cdist \
|
||||||
tag_list = $taglist
|
-v "$version" -c "$changelog" \
|
||||||
changelog = $changelog
|
-t "$taglist"
|
||||||
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
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
release-git-tag)
|
release-git-tag)
|
||||||
|
|
|
@ -5,6 +5,9 @@ Changelog
|
||||||
* Exception: No braces means author == Nico Schottelius
|
* Exception: No braces means author == Nico Schottelius
|
||||||
|
|
||||||
|
|
||||||
|
3.1.4:
|
||||||
|
* Documentation: Cleanup up, added HTML links (Tomas Pospisek)
|
||||||
|
|
||||||
3.1.3: 2014-04-29
|
3.1.3: 2014-04-29
|
||||||
* New Type: __yum_repo (Steven Armstrong)
|
* New Type: __yum_repo (Steven Armstrong)
|
||||||
* Type __hostname: Add support for CentOS
|
* Type __hostname: Add support for CentOS
|
||||||
|
|
Loading…
Reference in a new issue