We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 149b95c + f488ad1 commit c2db33aCopy full SHA for c2db33a
1 file changed
rakelib/upload.rake
@@ -38,6 +38,16 @@ namespace :vox do
38
glob += "#{os}*"
39
end
40
files = Dir.glob(glob)
41
+
42
+ # Tarballs use a different version format than RPM/DEB packages.
43
+ # ezbake generates the tarball name from the git tag (e.g. 8.13.0.SNAPSHOT.2026...)
44
+ # while RPM/DEB use the version-release format (e.g. 8.13.0-0.1SNAPSHOT.2026...).
45
+ # Match tarballs separately by version to cover both formats.
46
+ unless os
47
+ tarball_files = Dir.glob("#{__dir__}/../output/openvoxdb-#{version}*.tar.gz")
48
+ files = (files + tarball_files).uniq
49
+ end
50
51
abort 'No files for the given tag found in the output directory.' if files.empty?
52
53
path = "s3://#{bucket}/#{component}/#{tag}"
0 commit comments