Skip to content

Commit 19610eb

Browse files
committed
Add upload script.
1 parent b70882c commit 19610eb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

upload.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
with (import ./default.nix {});
22
with pkgs.haskell.lib;
3-
buildFromSdist language-ecmascript
4-
3+
let
4+
tarball = sdistTarball language-ecmascript;
5+
in
6+
pkgs.writeScriptBin "upload" ''
7+
${pkgs.cabal-install}/bin/cabal upload ${tarball}/*.tar.gz --publish
8+
''

0 commit comments

Comments
 (0)