@situm/cordova 3.15.30 → 3.15.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.semgrepignore ADDED
@@ -0,0 +1,8 @@
1
+ # Ignore generated JSDocs because the findings are related to a corner case:
2
+ # <!--[if lt IE 9]>
3
+ # <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
4
+ # <![endif]-->
5
+ docs/JSDoc
6
+
7
+ # Ignore Cordova platform files that we cannot modify:
8
+ src/ios/cordova.js
@@ -1,4 +1,3 @@
1
-
2
1
  trigger:
3
2
  - develop
4
3
  - release/*
@@ -7,324 +6,326 @@ trigger:
7
6
  pr: none
8
7
 
9
8
  variables:
10
- - group: Passwords
11
- - group: SoftwareVersions
12
- - group: ConfluencePages
13
- - group: ChangelogIds
9
+ - group: Passwords
10
+ - group: SoftwareVersions
11
+ - group: ConfluencePages
12
+ - group: ChangelogIds
14
13
 
15
14
  parameters:
16
- - name: CordovaVersion
17
- displayName: Plugin version (Only required for Release)
18
- default: "0.0.0"
15
+ - name: CordovaVersion
16
+ displayName: Plugin version (Only required for Release)
17
+ default: "0.0.0"
19
18
 
20
19
  resources:
21
20
  repositories:
22
- - repository: sys_kubernetes_templates
23
- type: bitbucket
24
- endpoint: Bitbucket - sistemas
25
- name: situm/sys-kubernetes-templates.git
26
- ref: master
27
- - repository: web_developers
28
- type: bitbucket
29
- endpoint: Bitbucket - sistemas
30
- name: situm/web-developers.git
31
- ref: master
32
- - repository: cordova_sdk_validation
33
- type: bitbucket
34
- endpoint: Bitbucket - sistemas
35
- name: situm/cordova-sdk-validation.git
36
- ref: master
21
+ - repository: sys_kubernetes_templates
22
+ type: bitbucket
23
+ endpoint: Bitbucket - sistemas
24
+ name: situm/sys-kubernetes-templates.git
25
+ ref: master
26
+ - repository: web_developers
27
+ type: bitbucket
28
+ endpoint: Bitbucket - sistemas
29
+ name: situm/web-developers.git
30
+ ref: master
31
+ - repository: cordova_sdk_validation
32
+ type: bitbucket
33
+ endpoint: Bitbucket - sistemas
34
+ name: situm/cordova-sdk-validation.git
35
+ ref: master
37
36
 
38
37
  jobs:
39
- - job: Semgrep
40
- pool:
41
- vmImage: $(ubuntuVersion)
42
- steps:
43
- - template: azure/common-steps.yaml
44
- - template: azure-templates/static-analyse.yml@sys_kubernetes_templates
45
- parameters:
46
- repoFolder: .
47
- teams: mobile
48
-
49
- - ${{ if or(contains(variables['Build.SourceBranch'], 'feature/'), contains(variables['Build.SourceBranch'],'develop'), ne(variables['Build.Reason'],'Manual')) }}:
50
- - job: Test_iOS
38
+ - job: Static_Analyse
51
39
  pool:
52
- vmImage: $(macOSVersion)
53
-
40
+ vmImage: $(ubuntuVersion)
54
41
  steps:
55
- - template: azure/common-steps.yaml
42
+ - template: azure/common-steps.yaml
43
+ - template: azure-templates/static-analyse.yml@sys_kubernetes_templates
44
+ parameters:
45
+ repoFolder: .
46
+ teams: mobile
47
+ phase: semgrep
56
48
 
57
- - bash: |
58
- echo -e "\n[+] Set xcode version to $(xcodeVersion)"
59
- sudo xcode-select -switch $(xcodeVersion)
49
+ - template: azure-templates/static-analyse.yml@sys_kubernetes_templates
50
+ parameters:
51
+ repoFolder: .
52
+ teams: mobile
53
+ phase: trivy
60
54
 
61
- echo -e "\n[+] Copy JSON test files \n"
62
- tests/scripts/copy_ios_resources.sh
55
+ - ${{ if or(contains(variables['Build.SourceBranch'], 'feature/'), contains(variables['Build.SourceBranch'],'develop'), ne(variables['Build.Reason'],'Manual')) }}:
56
+ - job: Test_iOS
57
+ pool:
58
+ vmImage: $(macOSVersion)
63
59
 
64
- echo -e "\n[+] Pod install \n"
65
- cd src/ios
66
- pod install
67
-
68
- echo -e "\n[+] Execute xcode tests \n"
60
+ steps:
61
+ - template: azure/common-steps.yaml
69
62
 
70
- xcodebuild test -workspace SitumCordovaPlugin.xcworkspace -scheme CordovaLib -destination $(iosSimulator)
63
+ - bash: |
64
+ echo -e "\n[+] Set xcode version to $(xcodeVersion)"
65
+ sudo xcode-select -switch $(xcodeVersion)
71
66
 
72
- if [ $? -ne 0 ];then
73
- echo -e "\n [!] Error with tests....... \n"
74
- exit 1
75
- fi
67
+ echo -e "\n[+] Copy JSON test files \n"
68
+ tests/scripts/copy_ios_resources.sh
76
69
 
77
- displayName: Execute Tests
78
-
79
-
80
- - job: Test_Android
81
- pool:
82
- vmImage: $(ubuntuVersion)
70
+ echo -e "\n[+] Pod install \n"
71
+ cd src/ios
72
+ pod install
83
73
 
84
- steps:
85
- - task: JavaToolInstaller@0
86
- inputs:
87
- versionSpec: '11'
88
- jdkArchitectureOption: 'x64'
89
- jdkSourceOption: 'PreInstalled'
90
- displayName: Install Java 11 for Gradle
74
+ echo -e "\n[+] Execute xcode tests \n"
91
75
 
92
- - template: azure/common-steps.yaml
93
- - bash: |
94
- echo -e "\n[+] Copy JSON test files \n"
95
- tests/scripts/copy_android_resources.sh
96
-
97
- echo -e "\n[+] Execute gradle tests \n"
98
- cd src/android
99
- ./gradlew test --continue --info
100
-
101
- if [ $? -ne 0 ];then
102
- echo -e "\n [!] Error with tests....... \n"
103
- exit 1
104
- fi
105
-
106
- displayName: Execute Test
107
-
108
- - task: PublishTestResults@2
109
- inputs:
110
- testResultsFormat: 'JUnit'
111
- testResultsFiles: 'src/android/app/build/test-results/*/*.xml'
112
- displayName: Publish test
113
- condition: always()
114
-
115
- - job: Test_JS
116
- pool:
117
- vmImage: $(ubuntuVersion)
76
+ xcodebuild test -workspace SitumCordovaPlugin.xcworkspace -scheme CordovaLib -destination $(iosSimulator)
118
77
 
119
- steps:
120
- - bash: |
121
- cd cordova
122
-
123
- echo -e "\n[+] Install npm dependencies \n"
124
- npm install
125
-
126
- echo -e "\n[+] Execute npm tests \n"
127
- npm test
128
- displayName: JS Test
129
-
130
-
131
- - ${{ if contains(variables['Build.SourceBranch'], 'release/') }}:
132
- - job: Generate_Release
133
- pool:
134
- vmImage: $(ubuntuVersion)
135
- steps:
136
- - template: azure/common-steps.yaml
78
+ if [ $? -ne 0 ];then
79
+ echo -e "\n [!] Error with tests....... \n"
80
+ exit 1
81
+ fi
137
82
 
138
- - task: NodeTool@0
139
- inputs:
140
- versionSource: 'spec'
141
- versionSpec: $(nodeVersion)
142
-
143
- - ${{ if eq(variables['Build.Reason'],'manual') }}:
144
- - bash: |
145
- if [[ "${{ parameters.CordovaVersion }}" == "0.0.0" ]];then
146
- echo -e "\n[!] IMPORTANT: You don't set the plugin version when you run the release branch and I'm not fortune teller\n"
147
- exit 1
148
- else
149
- echo "##vso[task.setvariable variable=version]$(echo ${{ parameters.CordovaVersion }})"
150
- echo -e "\n[+] I'm a shy step so I don't tell you anything\n"
151
- fi
152
-
153
- displayName: Set Cordova Version Manual
154
-
155
- - ${{ if ne(variables['Build.Reason'],'manual') }}:
156
- - bash: |
157
- CordovaVersion=$(echo $(Build.SourceBranch) | cut -d "/" -f 4)
158
- echo "##vso[task.setvariable variable=version]$(echo $CordovaVersion)"
159
- echo -e "\n[+] I'm a shy step that only executes where this pipeline run automatic\n"
160
- displayName: Set Cordova Version Automatic
161
-
162
- - bash: |
163
-
164
- echo -e "\n[+] Installing NPM version $(npmVersion)\n"
165
- npm install -g $(npmVersion)
166
-
167
- currentBranch=$(echo $(Build.SourceBranch) | cut -d "/" -f 3,4)
168
- echo "##vso[task.setvariable variable=currentBranch]$(echo $currentBranch)"
169
-
170
- echo -e "\n[+] Variables:"
171
- echo -e "\t[+] Plugin version: $(version)"
172
- echo -e "\t[+] NPM CLI version: $(npm --version)"
173
- echo -e "\t[+] Current branch: $currentBranch"
174
-
175
- echo -e "\n[+] Setting git remote credentials\n"
176
- if [ -d "cordova" ];then
177
- cd cordova
178
- fi
179
- git remote set-url origin https://situmops:$(github_token)@github.com/$(Build.Repository.Name).git
180
- cat .git/config
181
-
182
- displayName: Initial Vars & Configs
183
-
184
- - bash: |
185
-
186
- cd cordova
187
- echo -e "\n[+] Setting NPM version to $(version)"
188
- npm version $(version) --no-git-tag-version
189
-
190
- echo -e "\n[+] Change plugin version in plugin.xml"
191
- sed -i "s/version=\".*\">/version=\"$(version)\">/g" plugin.xml
192
-
193
- echo -e "\n[+] Setting git to push NPM version\n"
194
- git config --global user.email "sistemas@situm.es"
195
- git config --global user.name "Situmops"
196
-
197
- echo -e "\n[+] Fetch branches \n"
198
- git fetch
199
-
200
- echo -e "\n[+] Changing to $(currentBranch)"
201
- git checkout $(currentBranch)
202
-
203
- echo -e "\n[+] Add,Commit and Push to $(currentBranch)"
204
- git commit -am "[skip ci] Setting the Cordova version to $(version)"
205
- git push --set-upstream origin $(currentBranch)
206
- git push
207
- displayName: Make changes
208
-
209
-
210
- - template: azure-templates/publish_release.yml@sys_kubernetes_templates
211
- parameters:
212
- bitbucket:
213
- bitbucket_user: situmops
214
- system: "N/A"
215
- server: "github"
216
- repoFolder: "cordova"
217
- mergeBranches:
218
- - "master"
219
- - "develop"
220
-
221
- - bash: |
222
- cd cordova
223
- echo -e "\n[+] Fetch all branches\n"
224
- git fetch
225
-
226
- echo -e "\n[+] Checkout and Pull to master branch\n"
227
- git checkout master
228
- git pull origin master
229
-
230
- echo -e "\n[+] Configure NPM login"
231
- echo "//registry.npmjs.org/:_authToken=$(NPM_TOKEN)" > ~/.npmrc
232
-
233
- echo -e "\n[+] Publish NPM packages"
234
- npm publish --access=public
235
-
236
- displayName: NPM publish
237
-
238
-
239
- - bash: |
240
- cd cordova
241
-
242
- echo -e "\n[+] Install dependencies"
243
- npm install
244
-
245
- echo -e "\n[+] Generate Documentation\n"
246
- npm run jsdoc
247
-
248
- displayName: Generate JSDoc
249
-
250
- - template: azure-templates/commit-doc.yaml@sys_kubernetes_templates
251
- parameters:
252
- version: $(version)
253
- docPath: cordova/docs/JSDoc
254
- system: cordova
255
- bitbucket:
256
- bitbucket_user: $(bitbucket_user)
257
- bitbucket_pass: $(bitbucket_pass)
258
- release: "cordova"
259
-
260
- - bash: |
261
- if [ -d "cordova" ]; then
262
- cd cordova
263
- fi
264
-
265
- echo -e "\n[+] Pull master changes and change to master branch \n"
266
- git fetch
267
- git checkout master
268
- git pull origin master
269
-
270
- iossdk=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
271
- androidsdk=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
272
-
273
-
274
- echo -e "\n[+] Checkout to previous commit\n"
275
- git stash
276
- git checkout HEAD~1
277
-
278
- iossdk_old=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
279
- androidsdk_old=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
280
-
281
- echo -e "\n[+] Return repository to master branch\n"
282
- git checkout master
283
-
284
- echo -e "\n[+] Versions:"
285
- echo -e "\t[+] Cordova SDK: $(version)"
286
- echo -e "\t[+] ANDROID SDK: $androidsdk"
287
- echo -e "\t[+] IOS SDK: $iossdk"
288
- echo -e "\t[+] ANDROID SDK (OLD VERSION): $androidsdk_old"
289
- echo -e "\t[+] IOS SDK (OLD IOS): $iossdk_old"
290
-
291
- versions="| *VERSIÓN* | *FECHA* | *ANDROID SDK* | *IOS SDK* |\n|$(version)|$(date +"%d/%m/%Y")|"
292
-
293
- if [ "$androidsdk" != "$androidsdk_old" ];then
294
- versions="$versions *$androidsdk* |"
295
- android_changelog_version=$androidsdk
296
- else
297
- android_changelog_version="0.0.0"
298
- versions="$versions $androidsdk|"
299
- fi
300
-
301
- if [ "$iossdk" != "$iossdk_old" ];then
302
- versions="$versions *$iossdk*|"
303
- ios_changelog_version=$iossdk
304
- else
305
- ios_changelog_version="0.0.0"
306
- versions="$versions $iossdk|"
307
- fi
308
-
309
- echo "##vso[task.setvariable variable=versions]$(echo $versions)"
310
- echo "##vso[task.setvariable variable=android_changelog_version]$(echo $android_changelog_version)"
311
- echo "##vso[task.setvariable variable=ios_changelog_version]$(echo $ios_changelog_version)"
312
-
313
- displayName: Get Versions
314
-
315
- - template: azure-templates/publish-changelog.yaml@sys_kubernetes_templates
316
- parameters:
317
- changelogId: $(Cordova_Changelog_id)
318
- android_changelog_version: $(android_changelog_version)
319
- ios_changelog_version: $(ios_changelog_version)
320
-
321
- - template: azure-templates/release-table.yaml@sys_kubernetes_templates
322
- parameters:
323
- versions: $(versions)
324
- releaseTable: CORDOVA_SDK_TABLE
325
- confluence_release_page: $(CORDOVA_SDK_TABLE)
326
- confluence_release_page_title: "SDK Automatic Release Table - Cordova Plugin"
327
- bitbucket:
328
- bitbucket_user: $(bitbucket_user)
329
- bitbucket_pass: $(bitbucket_pass)
330
-
83
+ displayName: Execute Tests
84
+
85
+ - job: Test_Android
86
+ pool:
87
+ vmImage: $(ubuntuVersion)
88
+
89
+ steps:
90
+ - task: JavaToolInstaller@0
91
+ inputs:
92
+ versionSpec: "11"
93
+ jdkArchitectureOption: "x64"
94
+ jdkSourceOption: "PreInstalled"
95
+ displayName: Install Java 11 for Gradle
96
+
97
+ - template: azure/common-steps.yaml
98
+ - bash: |
99
+ echo -e "\n[+] Copy JSON test files \n"
100
+ tests/scripts/copy_android_resources.sh
101
+
102
+ echo -e "\n[+] Execute gradle tests \n"
103
+ cd src/android
104
+ ./gradlew test --continue --info
105
+
106
+ if [ $? -ne 0 ];then
107
+ echo -e "\n [!] Error with tests....... \n"
108
+ exit 1
109
+ fi
110
+
111
+ displayName: Execute Test
112
+
113
+ - task: PublishTestResults@2
114
+ inputs:
115
+ testResultsFormat: "JUnit"
116
+ testResultsFiles: "src/android/app/build/test-results/*/*.xml"
117
+ displayName: Publish test
118
+ condition: always()
119
+
120
+ - job: Test_JS
121
+ pool:
122
+ vmImage: $(ubuntuVersion)
123
+
124
+ steps:
125
+ - bash: |
126
+ cd cordova
127
+
128
+ echo -e "\n[+] Install npm dependencies \n"
129
+ npm install
130
+
131
+ echo -e "\n[+] Execute npm tests \n"
132
+ npm test
133
+ displayName: JS Test
134
+
135
+ - ${{ if contains(variables['Build.SourceBranch'], 'release/') }}:
136
+ - job: Generate_Release
137
+ pool:
138
+ vmImage: $(ubuntuVersion)
139
+ steps:
140
+ - template: azure/common-steps.yaml
141
+
142
+ - task: NodeTool@0
143
+ inputs:
144
+ versionSource: "spec"
145
+ versionSpec: $(nodeVersion)
146
+
147
+ - ${{ if eq(variables['Build.Reason'],'manual') }}:
148
+ - bash: |
149
+ if [[ "${{ parameters.CordovaVersion }}" == "0.0.0" ]];then
150
+ echo -e "\n[!] IMPORTANT: You don't set the plugin version when you run the release branch and I'm not fortune teller\n"
151
+ exit 1
152
+ else
153
+ echo "##vso[task.setvariable variable=version]$(echo ${{ parameters.CordovaVersion }})"
154
+ echo -e "\n[+] I'm a shy step so I don't tell you anything\n"
155
+ fi
156
+
157
+ displayName: Set Cordova Version Manual
158
+
159
+ - ${{ if ne(variables['Build.Reason'],'manual') }}:
160
+ - bash: |
161
+ CordovaVersion=$(echo $(Build.SourceBranch) | cut -d "/" -f 4)
162
+ echo "##vso[task.setvariable variable=version]$(echo $CordovaVersion)"
163
+ echo -e "\n[+] I'm a shy step that only executes where this pipeline run automatic\n"
164
+ displayName: Set Cordova Version Automatic
165
+
166
+ - bash: |
167
+
168
+ echo -e "\n[+] Installing NPM version $(npmVersion)\n"
169
+ npm install -g $(npmVersion)
170
+
171
+ currentBranch=$(echo $(Build.SourceBranch) | cut -d "/" -f 3,4)
172
+ echo "##vso[task.setvariable variable=currentBranch]$(echo $currentBranch)"
173
+
174
+ echo -e "\n[+] Variables:"
175
+ echo -e "\t[+] Plugin version: $(version)"
176
+ echo -e "\t[+] NPM CLI version: $(npm --version)"
177
+ echo -e "\t[+] Current branch: $currentBranch"
178
+
179
+ echo -e "\n[+] Setting git remote credentials\n"
180
+ if [ -d "cordova" ];then
181
+ cd cordova
182
+ fi
183
+ git remote set-url origin https://situmops:$(github_token)@github.com/$(Build.Repository.Name).git
184
+ cat .git/config
185
+
186
+ displayName: Initial Vars & Configs
187
+
188
+ - bash: |
189
+
190
+ cd cordova
191
+ echo -e "\n[+] Setting NPM version to $(version)"
192
+ npm version $(version) --no-git-tag-version
193
+
194
+ echo -e "\n[+] Change plugin version in plugin.xml"
195
+ sed -i "s/version=\".*\">/version=\"$(version)\">/g" plugin.xml
196
+
197
+ echo -e "\n[+] Setting git to push NPM version\n"
198
+ git config --global user.email "sistemas@situm.es"
199
+ git config --global user.name "Situmops"
200
+
201
+ echo -e "\n[+] Fetch branches \n"
202
+ git fetch
203
+
204
+ echo -e "\n[+] Changing to $(currentBranch)"
205
+ git checkout $(currentBranch)
206
+
207
+ echo -e "\n[+] Add,Commit and Push to $(currentBranch)"
208
+ git commit -am "[skip ci] Setting the Cordova version to $(version)"
209
+ git push --set-upstream origin $(currentBranch)
210
+ git push
211
+ displayName: Make changes
212
+
213
+ - template: azure-templates/publish_release.yml@sys_kubernetes_templates
214
+ parameters:
215
+ bitbucket:
216
+ bitbucket_user: situmops
217
+ system: "N/A"
218
+ server: "github"
219
+ repoFolder: "cordova"
220
+ mergeBranches:
221
+ - "master"
222
+ - "develop"
223
+
224
+ - bash: |
225
+ cd cordova
226
+ echo -e "\n[+] Fetch all branches\n"
227
+ git fetch
228
+
229
+ echo -e "\n[+] Checkout and Pull to master branch\n"
230
+ git checkout master
231
+ git pull origin master
232
+
233
+ echo -e "\n[+] Configure NPM login"
234
+ echo "//registry.npmjs.org/:_authToken=$(NPM_TOKEN)" > ~/.npmrc
235
+
236
+ echo -e "\n[+] Publish NPM packages"
237
+ npm publish --access=public
238
+
239
+ displayName: NPM publish
240
+
241
+ - bash: |
242
+ cd cordova
243
+
244
+ echo -e "\n[+] Install dependencies"
245
+ npm install
246
+
247
+ echo -e "\n[+] Generate Documentation\n"
248
+ npm run jsdoc
249
+
250
+ displayName: Generate JSDoc
251
+
252
+ - template: azure-templates/commit-doc.yaml@sys_kubernetes_templates
253
+ parameters:
254
+ version: $(version)
255
+ docPath: cordova/docs/JSDoc
256
+ system: cordova
257
+ bitbucket:
258
+ bitbucket_user: $(bitbucket_user)
259
+ bitbucket_pass: $(bitbucket_pass)
260
+ release: "cordova"
261
+
262
+ - bash: |
263
+ if [ -d "cordova" ]; then
264
+ cd cordova
265
+ fi
266
+
267
+ echo -e "\n[+] Pull master changes and change to master branch \n"
268
+ git fetch
269
+ git checkout master
270
+ git pull origin master
271
+
272
+ iossdk=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
273
+ androidsdk=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
274
+
275
+
276
+ echo -e "\n[+] Checkout to previous commit\n"
277
+ git stash
278
+ git checkout HEAD~1
279
+
280
+ iossdk_old=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
281
+ androidsdk_old=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
282
+
283
+ echo -e "\n[+] Return repository to master branch\n"
284
+ git checkout master
285
+
286
+ echo -e "\n[+] Versions:"
287
+ echo -e "\t[+] Cordova SDK: $(version)"
288
+ echo -e "\t[+] ANDROID SDK: $androidsdk"
289
+ echo -e "\t[+] IOS SDK: $iossdk"
290
+ echo -e "\t[+] ANDROID SDK (OLD VERSION): $androidsdk_old"
291
+ echo -e "\t[+] IOS SDK (OLD IOS): $iossdk_old"
292
+
293
+ versions="| *VERSIÓN* | *FECHA* | *ANDROID SDK* | *IOS SDK* |\n|$(version)|$(date +"%d/%m/%Y")|"
294
+
295
+ if [ "$androidsdk" != "$androidsdk_old" ];then
296
+ versions="$versions *$androidsdk* |"
297
+ android_changelog_version=$androidsdk
298
+ else
299
+ android_changelog_version="0.0.0"
300
+ versions="$versions $androidsdk|"
301
+ fi
302
+
303
+ if [ "$iossdk" != "$iossdk_old" ];then
304
+ versions="$versions *$iossdk*|"
305
+ ios_changelog_version=$iossdk
306
+ else
307
+ ios_changelog_version="0.0.0"
308
+ versions="$versions $iossdk|"
309
+ fi
310
+
311
+ echo "##vso[task.setvariable variable=versions]$(echo $versions)"
312
+ echo "##vso[task.setvariable variable=android_changelog_version]$(echo $android_changelog_version)"
313
+ echo "##vso[task.setvariable variable=ios_changelog_version]$(echo $ios_changelog_version)"
314
+
315
+ displayName: Get Versions
316
+
317
+ - template: azure-templates/publish-changelog.yaml@sys_kubernetes_templates
318
+ parameters:
319
+ changelogId: $(Cordova_Changelog_id)
320
+ android_changelog_version: $(android_changelog_version)
321
+ ios_changelog_version: $(ios_changelog_version)
322
+
323
+ - template: azure-templates/release-table.yaml@sys_kubernetes_templates
324
+ parameters:
325
+ versions: $(versions)
326
+ releaseTable: CORDOVA_SDK_TABLE
327
+ confluence_release_page: $(CORDOVA_SDK_TABLE)
328
+ confluence_release_page_title: "SDK Automatic Release Table - Cordova Plugin"
329
+ bitbucket:
330
+ bitbucket_user: $(bitbucket_user)
331
+ bitbucket_pass: $(bitbucket_pass)
@@ -4,7 +4,7 @@ root = true
4
4
  [*]
5
5
  charset = utf-8
6
6
  indent_style = space
7
- indent_size = 2
7
+ indent_size = 4
8
8
  insert_final_newline = true
9
9
  trim_trailing_whitespace = true
10
10