summaryrefslogblamecommitdiff
path: root/ci/release.sh
blob: 28768dc04582998418cb319a7310158d891acbb0 (plain) (tree)
1
2
3
4
5
6
7
8
9

                   

        




                                                     
 
                                             


                                
               
        

 
                                        
#!/usr/bin/env bash

set -eux

echo $GPG_PRIVATE_KEY_B64 | base64 --decode > gpg_key

gpg --import gpg_key

rm gpg_key

mill mill.scalalib.PublishModule/publishAll \
    lihaoyi:$SONATYPE_PASSWORD \
    $GPG_PASSWORD \
    __.publishArtifacts \
    --release \
    true


mill uploadToGithub $GITHUB_ACCESS_TOKEN