dongjoon-hyun opened a new pull request #25254: [SPARK-28511][INFRA] Get REV 
from RELEASE_VERSION instead of VERSION
URL: https://github.com/apache/spark/pull/25254
 
 
   ## What changes were proposed in this pull request?
   
   Unlike the other versions, `x.x.0-SNAPSHOT` causes `x.x.-1`. Although this 
will not happen in the tags (there is no `SNAPSHOT` postfix), we had better fix 
this.
   ```
   $ dev/create-release/do-release-docker.sh -d /tmp/spark-3.0.0 -n
   Output directory already exists. Overwrite and continue? [y/n] y
   Branch [branch-2.4]: master
   Current branch version is 3.0.0-SNAPSHOT.
   Release [3.0.-1]:
   ```
   
   Since we already have `RELEASE_VERSION` by removing `SNAPSHOT`. This PR uses 
`RELEASE_VERSION` instead of `VERSION`.
   ```
   $ dev/create-release/do-release-docker.sh -d /tmp/spark-3.0.0 -n
   Branch [branch-2.4]: master
   Current branch version is 3.0.0-SNAPSHOT.
   Release [3.0.0]:
   ```
   
   ## How was this patch tested?
   
   Manually do `dev/create-release/do-release-docker.sh -d /tmp/spark-3.0.0 -n` 
and see the default value of `Release`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to