Skip to content

Commit f6c61bd

Browse files
WIP
1 parent 38538fd commit f6c61bd

4 files changed

Lines changed: 7 additions & 17 deletions

File tree

.travis.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ branches:
33
- master
44
- release
55
- release-patch
6+
- vladimirov/travis-fix
67
env:
78
global:
89
- DATE=$(date +%Y-%m-%d)
@@ -28,20 +29,6 @@ deploy:
2829
skip_cleanup: true
2930
email: nativescript@telerik.com
3031
on:
31-
branch: master
32-
api_key:
33-
secure: "FM9QLOkFq6JpHlfHkT1i2Ht1ZlttZLq7K3kQNLabw7Z5+BPMcy/f3LRJkAkYMezrKLKRkq1uXmhY0BapoTnR9AVEO/t4g6dtbZ1TZ3xBH/HHnFofTFubOrc7+61DJzKduYtnQ/sn3EEOkN8jrXSY9uas4qZh7PSm1hcfjPI8gdI="
34-
- provider: npm
35-
skip_cleanup: true
36-
email: nativescript@telerik.com
37-
on:
38-
branch: release
39-
api_key:
40-
secure: "FM9QLOkFq6JpHlfHkT1i2Ht1ZlttZLq7K3kQNLabw7Z5+BPMcy/f3LRJkAkYMezrKLKRkq1uXmhY0BapoTnR9AVEO/t4g6dtbZ1TZ3xBH/HHnFofTFubOrc7+61DJzKduYtnQ/sn3EEOkN8jrXSY9uas4qZh7PSm1hcfjPI8gdI="
41-
- provider: npm
42-
skip_cleanup: true
43-
email: nativescript@telerik.com
44-
on:
45-
branch: release-patch
32+
all_branches: true
4633
api_key:
4734
secure: "FM9QLOkFq6JpHlfHkT1i2Ht1ZlttZLq7K3kQNLabw7Z5+BPMcy/f3LRJkAkYMezrKLKRkq1uXmhY0BapoTnR9AVEO/t4g6dtbZ1TZ3xBH/HHnFofTFubOrc7+61DJzKduYtnQ/sn3EEOkN8jrXSY9uas4qZh7PSm1hcfjPI8gdI="

.travis/add-publishConfig.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ switch (branch) {
2626
case "master":
2727
packageDef.publishConfig.tag = "next";
2828
break;
29+
case "vladimirov/travis-fix":
30+
packageDef.publishConfig.tag = "dev-feature-2";
31+
break;
2932
default:
3033
throw new Error(`Unable to publish as the branch ${branch} does not have corresponding tag. Supported branches are master (next tag), release (rc tag) and release-patch (patch tag)`);
3134
}

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ module.exports = function (grunt) {
205205

206206
grunt.registerTask("test", ["ts:devall", "shell:npm_test"]);
207207
grunt.registerTask("prepare", [
208+
"set_package_version",
208209
"clean",
209210
"ts:release_build",
210211
"shell:npm_test",
@@ -213,7 +214,6 @@ module.exports = function (grunt) {
213214
"verify_live_ga_id"
214215
]);
215216
grunt.registerTask("pack", [
216-
"set_package_version",
217217
"shell:build_package"
218218
]);
219219

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nativescript",
33
"preferGlobal": true,
4-
"version": "5.2.0",
4+
"version": "5.1.1",
55
"author": "Telerik <support@telerik.com>",
66
"description": "Command-line interface for building NativeScript projects",
77
"bin": {

0 commit comments

Comments
 (0)