nastra opened a new pull request #3408:
URL: https://github.com/apache/iceberg/pull/3408


   https://github.com/apache/iceberg/runs/4028935323?check_suite_focus=true 
failed with 
   ```
   * What went wrong:
   Execution failed for task 
':iceberg-spark:publishApachePublicationToMavenRepository'.
   > Failed to publish publication 'apache' to repository 'maven'
      > Could not PUT 
'https://repository.apache.org/content/repositories/snapshots/org/apache/iceberg/iceberg-spark/f68d8d4/iceberg-spark-f68d8d4.jar'.
 Received status code 400 from server: Bad Request
   
   ```
   Notice that it uses `f68d8d4` as the version and not `0.13.0-SNAPSHOT`. 
Running `./gradlew publishApachePublicationToMavenLocal` publishes artifacts 
correctly as `0.13.0-SNAPSHOT` so I'm pretty sure that the issue happens on GH 
because we're not fetching tags during checkout and therefore 
`getProjectVersion()` in `build.gradle` cannot derive the next SNAPSHOT version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to