Skip to content

Commit d2d7cd5

Browse files
authored
Release 1.0.0 (#235)
Release version 1.0.0, including some functionality regarding the releasing process: * Use gitVerstion tag for a more verbose way of distinguish developmental versions * Add a release script to generate the tag and generate the javadoc * Update the current javadoc and doc pages version (required for correct display) * Update README to clarify that the SemVer refers to user-functionality
1 parent 3c50465 commit d2d7cd5

171 files changed

Lines changed: 516 additions & 479 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4-
## [Unreleased] - 1.0.0
4+
## 1.0.0 - 2017-05-18
55

66
### Fixed
77
- MD5 file digest for FASTQ is for the file itself and not its content.
@@ -131,6 +131,7 @@ First pre-release
131131

132132

133133
[Unreleased]: https://github.com/magicDGS/ReadTools/tree/master
134+
[1.0.0]: https://github.com/magicDGS/ReadTools/releases/tag/1.0.0
134135
[0.3.0]: https://github.com/magicDGS/ReadTools/releases/tag/0.3.0
135136
[0.2.3]: https://github.com/magicDGS/ReadTools/releases/tag/0.2.2
136137
[0.2.2]: https://github.com/magicDGS/ReadTools/releases/tag/0.2.2

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you want to evaluate _ReadTools_ locally:
6969

7070
## Versioning and changelog
7171

72-
We use [Semantic Versioning (SemVer)](http://semver.org/) (_MAJOR.MINOR.PATCH_). The [CHANGELOG] will be updated accordingly after Pull Requests to follow the convention:
72+
We use [Semantic Versioning (SemVer)](http://semver.org/) (_MAJOR.MINOR.PATCH_) for the user-side, but not the API. The [CHANGELOG] will be updated accordingly after Pull Requests to follow the convention:
7373

7474
1. Backwards-compatible bug fixes: Add a __Fixed__ entry.
7575
These fixes will be released after they are included, by bumping the _PATCH_ number.
@@ -78,7 +78,7 @@ We use [Semantic Versioning (SemVer)](http://semver.org/) (_MAJOR.MINOR.PATCH_).
7878
3. Backwards-incompatible changes: Add a __Changed__ entry.
7979
These changes will be included after a month from the last release, by bumping the _MAJOR_ number and reset _MINOR_ and _PATCH_ to 0.
8080

81-
Changes are distinguished by the ones corresponding to API changes alone or if it have some effect on the user side.
81+
Our API for developers is still not stable, and changes for developers are reflected in under a __API change__ entry from version 1.0.0 onwards.
8282

8383
---
8484

build.gradle

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ startScripts {
2323
}
2424
}
2525

26+
// it is a release only if the boolean is a release and the git version does not contain .dirty
27+
final isRelease = !gitVersion().contains(".dirty") && Boolean.getBoolean("release")
28+
2629
group = 'org.magicdgs'
27-
version = hashedVersion('1.0.0')
30+
version = (isRelease ? gitVersion() : gitVersion() + "-SNAPSHOT").replaceAll(".dirty", "")
2831
description = """Tools for sequencing barcoded read data (in FASTQ/BAM format)"""
2932

3033
def developer = "Daniel Gomez-Sanchez"
@@ -35,13 +38,6 @@ targetCompatibility = 1.8
3538

3639
mainClassName = group + "." + rootProject.name.toLowerCase() + ".Main"
3740

38-
// method for defining the version using the build-number from git-hash
39-
// TODO: this should be removed for https://github.com/magicDGS/ReadTools/issues/184
40-
def hashedVersion(String semVer) {
41-
def hashedVersion = semVer + "-" + versionDetails().gitHash
42-
return (gitVersion().contains("dirty")) ? hashedVersion + "-SNAPSHOT" : hashedVersion
43-
}
44-
4541
repositories {
4642
mavenCentral()
4743
maven {

docs/_data/sidebars/home_sidebar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
entries:
44
- title: Sidebar
55
product: ReadTools
6-
version: 1.0.0-SNAPSHOT
6+
version: 1.0.0
77
folders:
88

99
- title: ReadTools

docs/javadoc/allclasses-frame.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 12:40:11 CEST 2017 -->
6-
<title>All Classes (ReadTools 1.0.0-06e6f8ac28 API)</title>
5+
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 14:00:27 CEST 2017 -->
6+
<title>All Classes (ReadTools 1.0.0 API)</title>
77
<meta name="date" content="2017-05-17">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>

docs/javadoc/allclasses-noframe.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 12:40:11 CEST 2017 -->
6-
<title>All Classes (ReadTools 1.0.0-06e6f8ac28 API)</title>
5+
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 14:00:27 CEST 2017 -->
6+
<title>All Classes (ReadTools 1.0.0 API)</title>
77
<meta name="date" content="2017-05-17">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>

docs/javadoc/constant-values.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 12:40:11 CEST 2017 -->
6-
<title>Constant Field Values (ReadTools 1.0.0-06e6f8ac28 API)</title>
5+
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 14:00:27 CEST 2017 -->
6+
<title>Constant Field Values (ReadTools 1.0.0 API)</title>
77
<meta name="date" content="2017-05-17">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
@@ -12,7 +12,7 @@
1212
<script type="text/javascript"><!--
1313
try {
1414
if (location.href.indexOf('is-external=true') == -1) {
15-
parent.document.title="Constant Field Values (ReadTools 1.0.0-06e6f8ac28 API)";
15+
parent.document.title="Constant Field Values (ReadTools 1.0.0 API)";
1616
}
1717
}
1818
catch(err) {

docs/javadoc/deprecated-list.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 12:40:11 CEST 2017 -->
6-
<title>Deprecated List (ReadTools 1.0.0-06e6f8ac28 API)</title>
5+
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 14:00:27 CEST 2017 -->
6+
<title>Deprecated List (ReadTools 1.0.0 API)</title>
77
<meta name="date" content="2017-05-17">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
@@ -12,7 +12,7 @@
1212
<script type="text/javascript"><!--
1313
try {
1414
if (location.href.indexOf('is-external=true') == -1) {
15-
parent.document.title="Deprecated List (ReadTools 1.0.0-06e6f8ac28 API)";
15+
parent.document.title="Deprecated List (ReadTools 1.0.0 API)";
1616
}
1717
}
1818
catch(err) {

docs/javadoc/help-doc.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 12:40:11 CEST 2017 -->
6-
<title>API Help (ReadTools 1.0.0-06e6f8ac28 API)</title>
5+
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 14:00:27 CEST 2017 -->
6+
<title>API Help (ReadTools 1.0.0 API)</title>
77
<meta name="date" content="2017-05-17">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
@@ -12,7 +12,7 @@
1212
<script type="text/javascript"><!--
1313
try {
1414
if (location.href.indexOf('is-external=true') == -1) {
15-
parent.document.title="API Help (ReadTools 1.0.0-06e6f8ac28 API)";
15+
parent.document.title="API Help (ReadTools 1.0.0 API)";
1616
}
1717
}
1818
catch(err) {

docs/javadoc/index-all.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 12:40:11 CEST 2017 -->
6-
<title>Index (ReadTools 1.0.0-06e6f8ac28 API)</title>
5+
<!-- Generated by javadoc (1.8.0_60) on Wed May 17 14:00:27 CEST 2017 -->
6+
<title>Index (ReadTools 1.0.0 API)</title>
77
<meta name="date" content="2017-05-17">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
@@ -12,7 +12,7 @@
1212
<script type="text/javascript"><!--
1313
try {
1414
if (location.href.indexOf('is-external=true') == -1) {
15-
parent.document.title="Index (ReadTools 1.0.0-06e6f8ac28 API)";
15+
parent.document.title="Index (ReadTools 1.0.0 API)";
1616
}
1717
}
1818
catch(err) {

0 commit comments

Comments
 (0)