diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2015-01-12 21:57:40 -0200 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-01-12 21:57:40 -0200 |
| commit | f74346e6433982a02012ea3070ef114258503da3 (patch) | |
| tree | 83d88ea02bee6007131fa758d10853a980c29c42 | |
| parent | cd993151d24c771c835ee5e1f750905753971d22 (diff) | |
| download | luarocks-f74346e6433982a02012ea3070ef114258503da3.tar.gz luarocks-f74346e6433982a02012ea3070ef114258503da3.tar.bz2 luarocks-f74346e6433982a02012ea3070ef114258503da3.zip | |
Do not pack scm versions
| -rw-r--r-- | src/luarocks/upload.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/upload.lua b/src/luarocks/upload.lua index d87313a4..1b1b346d 100644 --- a/src/luarocks/upload.lua +++ b/src/luarocks/upload.lua | |||
| @@ -54,7 +54,7 @@ function upload.run(...) | |||
| 54 | end | 54 | end |
| 55 | 55 | ||
| 56 | local rock_fname | 56 | local rock_fname |
| 57 | if not flags["skip-pack"] then | 57 | if not flags["skip-pack"] and not rockspec.version:match("^scm") then |
| 58 | util.printout("Packing " .. tostring(rockspec.package)) | 58 | util.printout("Packing " .. tostring(rockspec.package)) |
| 59 | rock_fname, err = pack.pack_source_rock(fname) | 59 | rock_fname, err = pack.pack_source_rock(fname) |
| 60 | if not rock_fname then | 60 | if not rock_fname then |
