RFR: 8231: Add version to build tarball names

Alex Macdonald aptmac at openjdk.org
Wed Jun 26 16:36:21 UTC 2024


This PR addresses https://bugs.openjdk.org/browse/JMC-8231, in which it would be nice for the built tarballs to print what version of the product they are.

Before:

aptmac at fedora ~/w/j/t/products (master)> ll
total 449M
drwxr-xr-x. 1 aptmac aptmac  32 Jun 26 12:11 org.openjdk.jmc/
-rw-r--r--. 1 aptmac aptmac 88M Jun 26 12:12 org.openjdk.jmc-linux.gtk.aarch64.tar.gz
-rw-r--r--. 1 aptmac aptmac 89M Jun 26 12:12 org.openjdk.jmc-linux.gtk.x86_64.tar.gz
-rw-r--r--. 1 aptmac aptmac 92M Jun 26 12:12 org.openjdk.jmc-macosx.cocoa.aarch64.tar.gz
-rw-r--r--. 1 aptmac aptmac 92M Jun 26 12:12 org.openjdk.jmc-macosx.cocoa.x86_64.tar.gz
-rw-r--r--. 1 aptmac aptmac 90M Jun 26 12:12 org.openjdk.jmc-win32.win32.x86_64.zip


After:

aptmac at fedora ~/w/j/t/products (8231)> ll
total 449M
drwxr-xr-x. 1 aptmac aptmac  32 Jun 26 12:27 org.openjdk.jmc/
-rw-r--r--. 1 aptmac aptmac 89M Jun 26 12:28 org.openjdk.jmc-9.1.0-SNAPSHOT-linux.gtk.aarch64.tar.gz
-rw-r--r--. 1 aptmac aptmac 89M Jun 26 12:28 org.openjdk.jmc-9.1.0-SNAPSHOT-linux.gtk.x86_64.tar.gz
-rw-r--r--. 1 aptmac aptmac 92M Jun 26 12:28 org.openjdk.jmc-9.1.0-SNAPSHOT-macosx.cocoa.aarch64.tar.gz
-rw-r--r--. 1 aptmac aptmac 92M Jun 26 12:28 org.openjdk.jmc-9.1.0-SNAPSHOT-macosx.cocoa.x86_64.tar.gz
-rw-r--r--. 1 aptmac aptmac 90M Jun 26 12:28 org.openjdk.jmc-9.1.0-SNAPSHOT-win32.win32.x86_64.zip

-------------

Commit messages:
 - 8231: Add version to build tarball names

Changes: https://git.openjdk.org/jmc/pull/568/files
  Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=568&range=00
  Issue: https://bugs.openjdk.org/browse/JMC-8231
  Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jmc/pull/568.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/568/head:pull/568

PR: https://git.openjdk.org/jmc/pull/568


More information about the jmc-dev mailing list