When I publish new versions of a SNAPSHOT build to github packages, the build number is not updated.
<metadata modelVersion=""> <groupId>com.derongan.minecraft</groupId> <artifactId>guiy</artifactId> <version>0.1.0-SNAPSHOT</version> <versioning> <snapshot> <timestamp>20200305.031042</timestamp> <buildNumber>1</buildNumber> </snapshot> <snapshotVersion> <extension>jar</extension> <value>0.1.0-20200305.034406-2</value> <updated>20200305034436</updated> </snapshotVersion> <snapshotVersion> <extension>jar</extension> <value>0.1.0-20200305.190209-2</value> <updated>20200305190240</updated> </snapshotVersion>
I think this is causing gradle to always download build-number 1, and any later snapshots are ignored.
Hey @Derongan, as far as I know we don't support mutating packages in terms of publishing a new SNAPSHOT to override an existing SNAPSHOT.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
@AndreaGriffiths11 Just to clarify, does this mean that we cannot upload multiple builds for the same snapshot (e.g. 1.0.0-SNAPSHOT) and have GitHub serve the latest artifact? Encountering a similar issue at the moment where only the first build is being pulled down from the repository (even after deleting my local cache).