File tree Expand file tree Collapse file tree 4 files changed +62
-2
lines changed Expand file tree Collapse file tree 4 files changed +62
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
1010### Changed
1111
12+ ## 1.5.4 - 2017-11-20
13+ ### Added
14+
15+ ### Changed
16+ - Upgrade to light-4j 1.5.4
17+
18+
1219## 0.1.1 - 2017-11-19
1320### Added
1421
Original file line number Diff line number Diff line change 1+ variables :
2+ regex : ' <version.light[a-z-]+4j>\d\.\d\.\d</version.light[a-z-]+4j>'
3+ paths :
4+ - path : pom.xml
5+ match : " {{ .regex }}"
6+ replace : " {{ .old }}"
7+ with : " {{ .new }}"
8+ must_include :
9+ - modelVersion
10+ - groupId
11+ - artifactId
Original file line number Diff line number Diff line change 1919 <modelVersion >4.0.0</modelVersion >
2020 <groupId >com.networknt</groupId >
2121 <artifactId >openapi-parser</artifactId >
22- <version >0.1.1 </version >
22+ <version >1.5.4 </version >
2323 <description >A light-weight, fast OpenAPI 3.0 parser and validator</description >
2424 <url >https://github.com/networknt/openapi-parser</url >
2525 <name >OpenAPIParser</name >
6565 <properties >
6666 <java .version>1.8</java .version>
6767 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
68- <version .light-4j>1.5.3 </version .light-4j>
68+ <version .light-4j>1.5.4 </version .light-4j>
6969 <version .jackson>2.9.1</version .jackson>
7070 <version .commons-lang3>3.6</version .commons-lang3>
7171 <version .slf4j>1.7.25</version .slf4j>
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Purpose: Pre-Release script to update version number in the project
4+ #
5+ # Author: Steve Hu, stevehu@gmail.com
6+ #
7+ # Parameters:
8+ # $1: old version
9+ # $2: new version
10+ #
11+
12+ old=$1
13+ new=$2
14+
15+ function showHelp {
16+ echo " "
17+ echo " Error: $1 "
18+ echo " "
19+ echo " prerel.sh [old-version] [new-version]"
20+ echo " "
21+ echo " where [old-version] is the previous version number that needs to be replaced."
22+ echo " [new-version] is the new version number for the next release"
23+ echo " "
24+ echo " example: ./prerel.sh 1.4.6 1.5.0"
25+ echo " "
26+ }
27+
28+ if [ -z $1 ]; then
29+ showHelp " [old-version] parameter is missing"
30+ exit
31+ fi
32+
33+ if [ -z $2 ]; then
34+ showHelp " [new-version] parameter is missing"
35+ exit
36+ fi
37+
38+ # For light-4j, the only thing that needs to be done is to change the version
39+ # number. The docs folder will be moved to light-doc in the future.
40+
41+ mvn versions:set -DnewVersion=$new -DgenerateBackupPoms=false
42+ rpx -c config.yaml --var ' old' =$old --var ' new' =$new
You can’t perform that action at this time.
0 commit comments