diff options
author | Bruno Haible <bruno@clisp.org> | 2019-05-11 20:49:22 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-05-11 20:49:22 +0200 |
commit | d654989d8bad1a82c4dcbd80204f20147408106e (patch) | |
tree | 2e5d601a1a9b510bdd545d5c9a623068fc5df4c7 | |
parent | c7d0b4506574887be5835ae9ae892d365afbb98c (diff) | |
download | gnulib-d654989d8bad1a82c4dcbd80204f20147408106e.tar.gz |
gnupload: Explain how to create symlinks.
* build-aux/gnupload (usage): Add an example that creates symlinks.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | build-aux/gnupload | 14 |
2 files changed, 17 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2019-05-11 Bruno Haible <bruno@clisp.org> + + gnupload: Explain how to create symlinks. + * build-aux/gnupload (usage): Add an example that creates symlinks. + 2019-05-11 Paul Eggert <eggert@cs.ucla.edu> fpucw: port to gcc -pedantic diff --git a/build-aux/gnupload b/build-aux/gnupload index 3fcf551fbc..d24a924d36 100755 --- a/build-aux/gnupload +++ b/build-aux/gnupload @@ -116,12 +116,22 @@ Examples: --symlink-regex \\ foobar-1.0.tar.gz foobar-1.0.tar.xz -4. Upload foobar-0.9.90.tar.gz to two sites: +4. Create a symbolic link foobar-latest.tar.gz -> foobar-1.0.tar.gz + and likewise for the corresponding .sig file: + gnupload --to ftp.gnu.org:foobar \\ + --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\ + foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig + or (equivalent): + gnupload --to ftp.gnu.org:foobar \\ + --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\ + --symlink foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig + +5. Upload foobar-0.9.90.tar.gz to two sites: gnupload --to alpha.gnu.org:foobar \\ --to sources.redhat.com:~ftp/pub/foobar \\ foobar-0.9.90.tar.gz -5. Delete oopsbar-0.9.91.tar.gz and upload foobar-0.9.91.tar.gz +6. Delete oopsbar-0.9.91.tar.gz and upload foobar-0.9.91.tar.gz (the -- terminates the list of files to delete): gnupload --to alpha.gnu.org:foobar \\ --to sources.redhat.com:~ftp/pub/foobar \\ |