Skip to content

Commit

Permalink
Bugfix: release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
witek committed Jul 24, 2015
1 parent bd2d287 commit aca223f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/scrum/client/project/Project.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* Copyright 2011 Witoslaw Koczewsi <[email protected]>, Artjom Kochtchi
*
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero
* General Public License as published by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
* License for more details.
*
*
* You should have received a copy of the GNU General Public License along with this program. If not, see
* <http://www.gnu.org/licenses/>.
*/
Expand Down Expand Up @@ -416,7 +416,7 @@ public BlogEntry createNewBlogEntry(Release release) {

public Release createNewRelease(Release parentRelease) {
Date date = Date.today();
Release release = Release.post(null, date);
Release release = Release.post(this, date);
if (parentRelease != null) {
release.setParentRelease(parentRelease);
release.setLabel(createBugfixLabel(parentRelease));
Expand Down

0 comments on commit aca223f

Please sign in to comment.