Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 9c963a6

Browse files
committed
feat(verrrsiontest): test of include-version
1 parent 1d77286 commit 9c963a6

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ before_install:
1111
- npm install -g grunt-cli
1212
before_script:
1313
- npm prune
14-
script:
15-
- npm run corp-release
14+
script:
1615
- npm run test
1716
after_success:
1817
- npm run semantic-release

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Banner definitions
99
meta: {
1010
banner: "/*\n" +
11-
" * <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n" +
11+
" * <%= pkg.title || pkg.name %> - v{{ include-version }}\n" +
1212
" * <%= pkg.description %>\n" +
1313
" * <%= pkg.homepage %>\n" +
1414
" *\n" +

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.gridstrap",
3-
"version": "0.0.0",
3+
"version": "0.0.0-semantically-released",
44
"description": "A jump-start for jQuery plugins development.",
55
"keywords": [
66
"jquery-plugin",
@@ -38,7 +38,6 @@
3838
"babel-loader": "^7.0.0",
3939
"babelify": "^6.1.0",
4040
"commitizen": "2.9.6",
41-
"corp-semantic-release": "5.0.0",
4241
"cz-conventional-changelog": "2.0.0",
4342
"grunt": "^0.4.5",
4443
"grunt-browserify": "^3.8.0",
@@ -47,6 +46,7 @@
4746
"grunt-contrib-uglify": "^0.9.2",
4847
"grunt-contrib-watch": "^0.6.1",
4948
"grunt-karma": "^0.12.0",
49+
"include-version": "1.0.2",
5050
"karma": "^0.13.21",
5151
"karma-chrome-launcher": "^2.1.1",
5252
"karma-firefox-launcher": "^0.1.6",
@@ -57,12 +57,19 @@
5757
"semantic-release": "^6.3.6"
5858
},
5959
"scripts": {
60-
"corp-release": "corp-semantic-release",
6160
"commit": "git-cz",
6261
"test": "grunt travis --verbose",
6362
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
6463
},
6564
"czConfig": {
6665
"path": "node_modules/cz-conventional-changelog"
66+
},
67+
"config": {
68+
"include-version": [
69+
"dist/jquery.gridstrap.css",
70+
"dist/jquery.gridstrap.js",
71+
"dist/jquery.gridstrap.min.css",
72+
"dist/jquery.gridstrap.min.js"
73+
]
6774
}
6875
}

0 commit comments

Comments
 (0)