Skip to content

Commit 54b51b3

Browse files
Adjust .travis.yml generation process to prevent trailing new line
1 parent f08f798 commit 54b51b3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
secure: "HkgYgawkr/hkg2vURHGOb/JmF6U1e71QQsd0HXJ1UJh6WBiFJOrjomCMHZGHnpyopdRna++up8dISBqM2X+EiLAr9yWdRXy72oMP9X42M0ccnja/3E5KYYXMkETS50JnUhMCOt2xRZW5/ojqrHukqRo0YIjIu+P0U0VsZ4QIsng="
7373

7474
# Docker Build #
75+
7576
- stage: Build
7677
env:
7778
- NODE_VERSION: "10"

update.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ function add_stage() {
7777
local variant=$1
7878
shift
7979

80-
echo ' - stage: Build
80+
echo '
81+
- stage: Build
8182
env:
8283
- NODE_VERSION: "'"$version"'"
83-
- VARIANT: "'"$variant"'"
84-
' >>.travis.yml
84+
- VARIANT: "'"$variant"'"' >>.travis.yml
8585
}
8686

8787
echo '#### DO NOT MODIFY. THIS FILE IS AUTOGENERATED ####

0 commit comments

Comments
 (0)