File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ module.exports = function(grunt) {
140
140
all : {
141
141
upload : [ {
142
142
src : 'build/**/*' ,
143
- dest : '<%= pkg.version %>/' ,
143
+ dest : '<%= pkg.release %>/' ,
144
144
rel : 'build/'
145
145
} ]
146
146
}
@@ -176,6 +176,13 @@ module.exports = function(grunt) {
176
176
}
177
177
} ;
178
178
179
+ if ( grunt . option ( 'dev' ) ) {
180
+ gruntConfig . pkg . release = 'dev' ;
181
+ gruntConfig . pkg . version = gruntConfig . pkg . version + '-post' ;
182
+ } else {
183
+ gruntConfig . pkg . release = gruntConfig . pkg . version ;
184
+ }
185
+
179
186
grunt . initConfig ( gruntConfig ) ;
180
187
181
188
// Custom Grunt tasks
Original file line number Diff line number Diff line change 1
- /*! Raven.js <%= pkg.version %> (<%= gitinfo.local.branch.current.shortSHA %>) | github.com/getsentry/raven-js */
1
+ /*! Raven.js <%= pkg.release %> (<%= gitinfo.local.branch.current.shortSHA %>) | github.com/getsentry/raven-js */
2
2
3
3
/*
4
4
* Includes TraceKit
You can’t perform that action at this time.
0 commit comments