IBM-Cloud / ibm-developer-extension-vscode

Extension for VS Code editor to enable IBM Cloud CLI capabilities from within the editing environment.
https://marketplace.visualstudio.com/items?itemName=IBM.ibm-developer
Apache License 2.0
13 stars 10 forks source link

build: Used deploy stage to publish release only on git tag builds #38

Closed Aerex closed 2 years ago

Aerex commented 2 years ago

Context

The purpose of this PR is to prevent builds that are invoked by a git tag do not attempt to release a new version of the extension. Using the ruby conditional logic provided in the VSCode docs is outdated due to recent changes in Travis. Instead, the dedicated deploy stage will be used which is more reliable.

Steps to Test

  1. Watch the travis PR build
  2. Verify that the build finishes successfully and the deploy stage is skipped