Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.05 KB

Upload.md

File metadata and controls

49 lines (32 loc) · 1.05 KB

Uploading a new CPAN distribution

Bump version number in Math/GSL.pm

  • Edit the file lib/Math/GSL.pm and change the version number at line 29:
our $VERSION = '0.41';  # <-- increase the version number

and in the Pod at line 37.

Update copyright year in Pod files

cd developer/bin
./update_copyright.pl

Update Changes file

Update the Changes file.

Push to GitHub

Push the changes introduced above to GitHub

Build the CPAN distribution

Commit the changes above to the master branch, and push them to the remote (origin). Next, to build a tarball:

cd developer/gen_dist
./build_image.sh
./run.sh 2.7  # <-- Uses GSL version 2.7 to build the distribution

after run.sh there should be a distribution tarball Math-GSL-xx.yy.tar.gz, in the current directory. Here, xx.yy corresponds the current version, i.e., $Math::GSL::VERSION.

Upload the distribution

  • Go to the PAUSE upload server

https://pause.perl.org/pause/authenquery?ACTION=add_uri

and upload the generated tarball (e.g. Math-GSL-0.41.tar.gz)