Skip to content

Commit

Permalink
Add pkgcloud upload to CI - Fix 4
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspustina committed Feb 5, 2020
1 parent 878d85c commit 50d7d61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,6 @@ stages:
- job: 'Publish_To_PackageCloud'
displayName: "Publish to PackageCloud - CenterDevice"
# condition: startsWith(variables['build.sourceBranch'], 'refs/tags/')
variables:
PACKAGECLOUD_TOKEN: $(PACKAGECLOUD_API_TOKEN_CENTERDEVICE)
steps:
- task: UseRubyVersion@0
inputs:
Expand All @@ -231,6 +229,8 @@ stages:
displayName: "Download Debian Package"
- script: |
ls -al $BUILD_ARTIFACTSTAGINGDIRECTORY && \
package_cloud push centerdevice/infrastructure/ubuntu/bionic "${BUILD_ARTIFACTSTAGINGDIRECTORY}/${CRATE_BIN_NAME}-${PGK_VERSION}-${UBUNTUNAME}-${ARCHNAME}.deb" --verbose
package_cloud push centerdevice/infrastructure/ubuntu/bionic ${BUILD_ARTIFACTSTAGINGDIRECTORY}/*.deb --verbose
displayName: 'Upload Debian Package to PackageCloud'
env:
PACKAGECLOUD_TOKEN: $(PACKAGECLOUD_API_TOKEN_CENTERDEVICE)

0 comments on commit 50d7d61

Please sign in to comment.