build_release.pl (1108b05e) | build_release.pl (86e1cf34) |
---|---|
1#!/usr/bin/perl 2#************************************************************** 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 1328 unchanged lines hidden (view full) --- 1337 my $old_to_new_version_dots = sprintf( 1338 "%s-%s", 1339 $release_descriptor->{'previous-version'}, 1340 $release_descriptor->{'version'}); 1341 1342 1343 my $name = $template; 1344 | 1#!/usr/bin/perl 2#************************************************************** 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 1328 unchanged lines hidden (view full) --- 1337 my $old_to_new_version_dots = sprintf( 1338 "%s-%s", 1339 $release_descriptor->{'previous-version'}, 1340 $release_descriptor->{'version'}); 1341 1342 1343 my $name = $template; 1344 |
1345 # Resolve %? template paramters. | 1345 # Resolve %? template parameters. |
1346 $name =~ s/%V/$release_descriptor->{'version'}/g; 1347 $name =~ s/%W/$old_to_new_version_dash/g; 1348 $name =~ s/%w/$old_to_new_version_dots/g; 1349 $name =~ s/%P/$platform_package_descriptor->{'archive-platform'}/g; 1350 $name =~ s/%t/$archive_package_type/g; 1351 $name =~ s/%T/$package_format/g; 1352 $name =~ s/%l/$full_language/g; 1353 $name =~ s/%L/$language/g; --- 479 unchanged lines hidden --- | 1346 $name =~ s/%V/$release_descriptor->{'version'}/g; 1347 $name =~ s/%W/$old_to_new_version_dash/g; 1348 $name =~ s/%w/$old_to_new_version_dots/g; 1349 $name =~ s/%P/$platform_package_descriptor->{'archive-platform'}/g; 1350 $name =~ s/%t/$archive_package_type/g; 1351 $name =~ s/%T/$package_format/g; 1352 $name =~ s/%l/$full_language/g; 1353 $name =~ s/%L/$language/g; --- 479 unchanged lines hidden --- |