-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish SNAPSHOT builds to sonatype on pushes to develop #1093
Conversation
@@ -317,6 +326,7 @@ publish:release-timber: | |||
tags: [ "runner:main" ] | |||
only: | |||
- tags | |||
- develop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you add this here, doesn't this mean that this task will always be performed when develop builds ? That means we are going to push snapshots every time we merge something in develop, is that correct ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's the goal
@@ -317,6 +326,7 @@ publish:release-timber: | |||
tags: [ "runner:main" ] | |||
only: | |||
- tags | |||
- develop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's the goal
@@ -17,7 +17,7 @@ object AndroidConfig { | |||
const val MIN_SDK_FOR_COMPOSE = 21 | |||
const val BUILD_TOOLS_VERSION = "31.0.0" | |||
|
|||
val VERSION = Version(1, 15, 0, Version.Type.Dev) | |||
val VERSION = Version(1, 15, 0, Version.Type.Snapshot) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it enough to publish the snapshot on Sonatype? will it skip staging/approval step if version has -SNAPSHOT
suffix? Or will it be some other PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sonatype will automatically skip staging based on the -SNAPSHOT
suffix
77bdb3a
to
c1dbcbd
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1093 +/- ##
===========================================
+ Coverage 83.20% 83.23% +0.02%
===========================================
Files 273 273
Lines 9348 9348
Branches 1503 1503
===========================================
+ Hits 7778 7780 +2
- Misses 1149 1151 +2
+ Partials 421 417 -4
|
What does this PR do?
Add 'SNAPSHOT' as a version tag, and default new versions to it. Change the build so that
develop
triggers allpublish
stages.Motivation
The cross platform frameworks would like to work from SNAPSHOTS in order to speed up development.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)