Skip to content

Commit b707b23

Browse files
doc: fix the issue template
- fix the issue template - fix the -SNAPSHOT version number
1 parent 1c8d8da commit b707b23

2 files changed

Lines changed: 24 additions & 7 deletions

File tree

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,41 @@
11
---
2-
name: SQL Parser Error
2+
name: @ SQL Parser Error
33
about: Create a report to help us improve
4-
title: 'JSQLParser Version : RDBMS : failing feature description'
4+
title: '[BUG] JSQLParser Version : RDBMS : failing feature description'
55
labels: 'Parser Error', 'Feature Request', 'Documentation', 'Java API', 'RDBMS support'
66
assignees: ''
77

88
---
99

10-
**Failing SQL Feature**
10+
<!--
11+
Note: Please search to see if an issue already exists for the bug you encountered.
12+
-->
13+
14+
### Failing SQL Feature:
15+
<!--
1116
- Brief description of the failing SQL feature
1217
- Example: `WITH ROLLUP` can't be parsed
18+
-->
1319

14-
**SQL Example**
20+
### SQL Example:
21+
<!--
1522
- Simplified Query Example, focusing on the failing feature
1623
```sql
1724
-- Replace with your ACTUAL example
1825
select 1
1926
from dual
2027
```
28+
-->
2129

22-
**Software Information**
30+
### Software Information:
31+
<!--
2332
- JSqlParser version
2433
- Database (e. g. Oracle, MS SQL Server, H2, PostgreSQL, IBM DB2 )
34+
-->
2535

26-
**Tips**
36+
### Tips:
37+
<!--
2738
Please write in English and avoid Screenshots (as we can't copy and paste content from it).
2839
[Try your example online with the latest JSQLParser](http://217.160.215.75:8080/jsqlformatter/demo.html) and share the link in the error report.
40+
Do provide Links or References to the specific Grammar and Syntax you are trying to use.
41+
-->

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def getVersion = { boolean considerSnapshot ->
4949
patch = matcher[0][3]
5050
commit = matcher[0][4]
5151

52-
if (considerSnapshot && os.toString().trim().endsWith("-SNAPSHOT")) {
52+
if (considerSnapshot) {
5353
minor++
5454
snapshot = "-SNAPSHOT"
5555
}
@@ -314,6 +314,9 @@ task gitChangelogTask(type: GitChangelogTask) {
314314
file = new File("${projectDir}/src/site/sphinx/changelog.rst")
315315
fromRef = "4.0"
316316
//toRef = "1.1";
317+
318+
// switch off the formatter since the indentation matters for Mark-down
319+
// @formatter:off
317320
templateContent ="""
318321
************************
319322
Changelog
@@ -342,6 +345,7 @@ Version {{name}}
342345
{{/issues}}
343346
{{/tags}}
344347
"""
348+
// @formatter:on
345349
}
346350

347351
task updateKeywords(type: JavaExec) {

0 commit comments

Comments
 (0)