Skip to content

Commit 83188d7

Browse files
committed
Merge pull request #107 from mackerelio/bump-version-0.6.0
Release version 0.6.0
2 parents a565641 + e4cae48 commit 83188d7

File tree

5 files changed

+53
-7
lines changed

5 files changed

+53
-7
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
global:
66
- PATH=~/gopath/bin:$PATH
77
- DEBIAN_FRONTEND=noninteractive
8-
- secure: eVK4VPUaQNF1a3CMUz/5jWaNY0+Wj10HnscPhcvmnH+IUJ+B6n2W4M5ht5WXEmx5EnKgLIZveL9CtPJTTsW4lE1RO03xfuVoe8+dElUSlKLJEHIDKm7koYgFEURWZXRcMAMqW2yj3y7D34fnwP4Evt/HuV8ZtWktMtJUzLr12oFxQDS0RC7II5nh8BiqSGCkKC8QJ6qQzbjZavBQ8M70Y4WWPArYHzwcSQjOLxhQmGCyx9JI7/nIqSosldFwqiFTh+UH3x7Pntt1Ji6Ra0rAuGFN28nQc8ISxfytwAgV4h7ubAWPUom2rXdUpHVvWZXoxDJr8YYq4rGRmyuLl/gBUfv72l/u8wIlMo5gRB2vJXHwKAaogSheGtdVwv7BwPSvjA6oOz5imqkhIm5kNgyrXaBglF7fornPiJNVgv2lMzuLB3GgqjYxhfipFahJT99x91/xd6kZ5OSSUVYkTx/0JwkEmGXyOJNzynC22VNHj6u1T41hkRHHSUjzrNBwNhMEcXDy75VaJukKMi9YyyHgehitWUFnGq0rakMz3tQxeO8K6YVQqjD7NWPiHh1vh4vWYRn2/T7ewTksW1h+/ETJR98YYsjpHnuQSJh6gGj6i4jKKy04hWagVciJ3Jr4i6ouA8ggKoEMzEB9KXd44yJoXk/ozk5VOXPithyp8NuA5BA=
8+
- secure: "A7F4DYfPLjDwh/B0CWAX2y9cChZtGENRF9dJy5l35gK6pc0a4oVzm2GuzZFYubp1ByWIW+No+iXnw2CGYCS2jMdYMeNLjrfN4orEENVrsXIaq+itF7+Ub/O3WaM9ukpfeXZKzFS/EyxvyRYMPmpc2pwqA1HGQ5qTDVzlFE+zCnD4rAAQdCf5KbNuZEcXyOOWKUX8d0ZmmvVYjJM8CKqfxNwWXsVaNBzXww8isa9FaRMiWlei2ca1ORvzVg4xkvcd66xgdj6n07a8oMMaOdmqG4I3qAeh92ruEpWLT4uVzzobDpVUezJ3vH8IXoBizu0Xg9aijFHqlZ6PBDT+jISI2cpfzMgRHORvHk+Qha5AxWkVLinvo/FBGHYEZzkvNOSAqbi+RdesKnDKf4Lktx9LRSRr7Q4fhFUIY2ya33GHS4RjpNtYPrpSZ+QRAVkoRCkPJFhmfgaPYmyC94tTv2c8QDY2p1aXFC10wY5FF/Z2P0Mbcy/q92GSKxxHMM523UVBvgItAdEZEBqLSvFIuM5rf3UcOtJlgoIiiLJ9hskDEOw10Kl0uIuq/tlBp71SuFpYxFPB8lumTzaa8TQQO4pCoyq3zhe0PlbZk621pJRcxnF5pIEen6/7xmwr8+DASE/4yiV+vfhYz9/mUAbwR31k/5lVgvr/tBJLgvY9vyfM0eE="
99
sudo: false
1010
addons:
1111
apt:
@@ -41,8 +41,7 @@ deploy:
4141
on:
4242
branch: master
4343
- provider: script
44-
script: tool/releng --task=create-pullrequest --current-branch=$TRAVIS_BRANCH --package-name=mackerel-check-plugins
45-
-v
44+
script: tool/releng --task=create-pullrequest --current-branch=$TRAVIS_BRANCH --package-name=mackerel-check-plugins -v
4645
skip_cleanup: true
4746
on:
4847
all_branches: true

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.6.0 (2016-05-10)
4+
5+
* supported gearman ascii protocol for check-tcp #89 (karupanerura)
6+
* added check-masterha command to check masterha status #90 (karupanerura)
7+
* Plugin for checking AWS SQS queue size #92 (hiroakis)
8+
* fix: rpm should not include dir #98 (stanaka)
9+
* added ssh checker #101 (karupanerura)
10+
* remove 'golang.org/x/tools/cmd/vet' #102 (y-kuno)
11+
* [uptime/procs] `--warn-over/under` is deprecated. use `--warning-over/under` instead #104 (Songmu)
12+
* add aws-sqs-queue-size, cert-file, masterha and ssh into package #105 (Songmu)
13+
* bump up go version to 1.6.2 #106 (stanaka)
14+
15+
316
## 0.5.2 (2016-03-25)
417

518
* Revert "use /usr/bin/check-*" #95 (Songmu)

packaging/deb/debian/changelog

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
mackerel-check-plugins (0.6.0-1) stable; urgency=low
2+
3+
* supported gearman ascii protocol for check-tcp (by karupanerura)
4+
<https://github.com/mackerelio/go-check-plugins/pull/89>
5+
* added check-masterha command to check masterha status (by karupanerura)
6+
<https://github.com/mackerelio/go-check-plugins/pull/90>
7+
* Plugin for checking AWS SQS queue size (by hiroakis)
8+
<https://github.com/mackerelio/go-check-plugins/pull/92>
9+
* fix: rpm should not include dir (by stanaka)
10+
<https://github.com/mackerelio/go-check-plugins/pull/98>
11+
* added ssh checker (by karupanerura)
12+
<https://github.com/mackerelio/go-check-plugins/pull/101>
13+
* remove 'golang.org/x/tools/cmd/vet' (by y-kuno)
14+
<https://github.com/mackerelio/go-check-plugins/pull/102>
15+
* [uptime/procs] `--warn-over/under` is deprecated. use `--warning-over/under` instead (by Songmu)
16+
<https://github.com/mackerelio/go-check-plugins/pull/104>
17+
* add aws-sqs-queue-size, cert-file, masterha and ssh into package (by Songmu)
18+
<https://github.com/mackerelio/go-check-plugins/pull/105>
19+
* bump up go version to 1.6.2 (by stanaka)
20+
<https://github.com/mackerelio/go-check-plugins/pull/106>
21+
22+
-- mackerel <[email protected]> Tue, 10 May 2016 08:02:46 +0000
23+
124
mackerel-check-plugins (0.5.2-1) stable; urgency=low
225

326
* Revert "use /usr/bin/check-*" (by Songmu)

packaging/rpm/mackerel-check-plugins.spec

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ done
4545
%{__oldtargetdir}/*
4646

4747
%changelog
48+
* Tue May 10 2016 <[email protected]> - 0.6.0-1
49+
- supported gearman ascii protocol for check-tcp (by karupanerura)
50+
- added check-masterha command to check masterha status (by karupanerura)
51+
- Plugin for checking AWS SQS queue size (by hiroakis)
52+
- fix: rpm should not include dir (by stanaka)
53+
- added ssh checker (by karupanerura)
54+
- remove 'golang.org/x/tools/cmd/vet' (by y-kuno)
55+
- [uptime/procs] `--warn-over/under` is deprecated. use `--warning-over/under` instead (by Songmu)
56+
- add aws-sqs-queue-size, cert-file, masterha and ssh into package (by Songmu)
57+
- bump up go version to 1.6.2 (by stanaka)
58+
4859
* Fri Mar 25 2016 <[email protected]> - 0.5.2
4960
- Revert "use /usr/bin/check-*" (by Songmu)
5061

tool/releng

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ sub github_release_with_exit_code {
129129

130130
sub http_get {
131131
my $url = shift;
132-
my ($ok, $err, undef, $stdout) = run(command => [qw{curl -sf}, $url]);
132+
my ($ok, $err, undef, $stdout, $stderr) = run(command => [qw{curl -sf}, $url]);
133133
return {
134134
success => $ok,
135135
content => join('', @$stdout),
@@ -247,7 +247,7 @@ sub merged_prs {
247247
say "Pull Requests: " . join(", ", @pull_nums);
248248
my @releases;
249249
for my $pull_num (@pull_nums) {
250-
my $url = sprintf "https://api.github.com/repos/%s/pulls/%d?state=closed", $REPO_NAME, $pull_num;
250+
my $url = sprintf "https://api.github.com/repos/%s/pulls/%d", $REPO_NAME, $pull_num;
251251
my $res = http_get($url);
252252
unless ($res->{success}) {
253253
warnf "request to $url failed\n";
@@ -403,7 +403,7 @@ sub create_pull_request {
403403
}
404404

405405
# return if last commit is updating specs and changelogs
406-
my $last_commitlog = `git log -1 --oneline | cut -d ' ' -f2-`;
406+
my $last_commitlog = `git log --oneline master..HEAD | cut -d ' ' -f2-`;
407407
if($last_commitlog =~ /update changelogs/){
408408
infof "skip to update changelogs because the last commit is 'update changelogs'.\n";
409409
return;
@@ -418,10 +418,10 @@ sub create_pull_request {
418418
infof "skip to update changelogs because no merged pull request is found after the last release.\n"
419419
}
420420
if($ret || git_with_exit_code qw/diff --exit-code/){
421-
git qw/commit -am/, "update changelogs";
422421
git qw/config --global push.default matching/;
423422
git qw/config user.email/, '[email protected]';
424423
git qw/config user.name/, 'mackerel';
424+
git qw/commit -am/, "update changelogs";
425425
git qw/push -u/, "https://$ENV{GITHUB_TOKEN}\@github.com/$REPO_NAME.git";
426426
infof "Difference is pushed to GitHub.\n";
427427
}

0 commit comments

Comments
 (0)