Skip to content

Commit

Permalink
Upload artifacts on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
wttw committed Jul 19, 2019
1 parent 0a7f7f3 commit 892ebcf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package/package-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@

# TODO(steve): codesigning

macdeployqt "${APPNAME}.app" -dmg
mv "${APPNAME}.dmg" "${OUTPUTDIR}/${APPNAME}.dmg"
macdeployqt "${APPNAME}.app" -dmg || die "macdeployqt failed"
mv "${APPNAME}.dmg" "${OUTPUTDIR}/${APPNAME}-${SHORTVERSION}.dmg" || die "Failed to move DMG to ${OUTPUTDIR}"

cd ${OUTPUTDIR}
cd ..
${BKAGENT} artifact upload "**/${APPNAME}-${SHORTVERSION}.dmg" || die "failed to upload artifacts"

0 comments on commit 892ebcf

Please sign in to comment.