Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
publish artifacts to zeus
  • Loading branch information
bruno-garcia committed Feb 7, 2020
commit da978b397d2a729b1f3831aa4fb374cd8a8aaa02
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ notifications:
on_start: always
on_cancel: always
on_error: always
after_success:
- ./scripts/zeus.sh
7 changes: 7 additions & 0 deletions scripts/zeus.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eux

yarn global add @zeus-ci/cli

zeus upload -t "application/zip+aar" ./*/build/outputs/aar/*release.aar
zeus upload -t "application/zip+jar" ./*/build/libs/*release.jar
Comment on lines +6 to +7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's about poms? eg
build/publications/release/pom-default.xml
or even *javadocs.jar, *sources.jar?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The jars are all match the pattern. The pom is not because their names are all the same. I mentioned on slack. Wither we rename or find another way

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true about the pom files, but not for sources and javadocs files as they have a *-sources.jar and *-javadocs.jar pattern if I recall it well.