diff options
author | Micah Lee <micah@micahflee.com> | 2019-04-22 15:32:34 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-04-22 15:32:34 -0700 |
commit | c15d3fbb529ef31cfdee0f8855bf2a3b3382af94 (patch) | |
tree | 05c57f75bb921808d52b659fb36155f97e86214a /BUILD.md | |
parent | 28c744b7703e9f0cdb97770533ffdfaefa58aa33 (diff) | |
download | onionshare-c15d3fbb529ef31cfdee0f8855bf2a3b3382af94.tar.gz onionshare-c15d3fbb529ef31cfdee0f8855bf2a3b3382af94.zip |
Write script to build source package
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 34 |
1 files changed, 3 insertions, 31 deletions
@@ -376,39 +376,11 @@ onionshare-$VERSION-setup.exe onionshare-$VERSION-setup.exe.asc ``` -## Make a source release +## Source package -Make a fresh clone of the git repo: +To make a source package, run `./install/build_source.sh $TAG`, where `$TAG` is the the name of the signed git tag, e.g. `v2.1`. -``` -cd ~/tmp -git clone https://github.com/micahflee/onionshare.git -``` - -Verify the git tag, and if it verifies check it out: - -``` -cd onionshare -git tag -v v$VERSION -# (make sure tag verifies!!!) -git checkout v$VERSION -``` - -Delete the `.git` folder and compress: - -``` -cd .. -rm -rf onionshare/.git -tar -cf onionshare-$VERSION.tar.gz onionshare/ -``` - -PGP-sign the source package: - -``` -gpg -a --detach-sign onionshare-$VERSION.tar.gz -``` - -This process ends up with two final files: +This process ends up with two final files in `dist`: ``` onionshare-$VERSION.tar.gz |