Skip to content

Commit 6e3edcb

Browse files
Damyan PetevDamyan Petev
authored andcommitted
ci: switch to script for deprecation postinstall task
1 parent 94cfc3d commit 6e3edcb

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.azure-pipelines/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,12 @@ jobs:
248248
verbose: ${{ parameters.verbose }}
249249
customCommand: 'pkg set name="@infragistics/igniteui-react"'
250250

251-
- task: Npm@1
251+
252+
- script: |
253+
npm pkg set scripts.postinstall='echo "⚠️ Deprecated(@infragistics/igniteui-react): Now distributed as MIT, use igniteui-react from the npmjs.org registry instead."'
252254
displayName: 'add deprecation postinstall script'
253255
continueOnError: false
254-
inputs:
255-
command: 'custom'
256-
workingDir: '$(Build.SourcesDirectory)/dist'
257-
verbose: ${{ parameters.verbose }}
258-
customCommand: "pkg set scripts.postinstall='echo \"⚠️ Deprecated(@infragistics/igniteui-react): Now distributed as MIT, use igniteui-react from the npmjs.org registry instead.\"'"
256+
workingDirectory: '$(Build.SourcesDirectory)/dist'
259257
260258
- task: Npm@1
261259
displayName: '[IG Packages] npm publish'

0 commit comments

Comments
 (0)