Notice: Development on autobin is currently on pause during our v3 rearchitecture. Please see storj/storj for ongoing v3 development.
Cross platform batch / shell scripts used to automatically build binaries for open pull requests and draft releases of the Storj storjshare-gui.
Autobin creates a draft release for every open pull request and deletes the release as soon as the pull request is closed or merged. For each commit a new binary will be uploaded.
10 minutes after the last binary upload a comment with all binaries will be added to the pull request. Sometimes the binaries needs more than 10 minutes. In that case the comment will be modified and the missing binary will be added. If a new commit is detected the comment with the old binaries will be deleted and the 10 minutes timeout starts again.
Create a new release with a release tag. Autobin will build binaries for the latest draft or published release. It will ignore releases without a release tag. Be carefull with new commits. You have to delete the old binaries yourself to get new binaries.
Download the batch or shell script. Set environment variables CERT_FILE, CERT_PASSWORD (windows only) and GH_TOKEN github access token (repo privilage needed).
Change the github api url like this, modify the build steps and file extensions. Everything else should be fine.
In order to run autobin you have to install git, curl, jq and the dependencies for the build steps. storjshare-gui needs nodejs and NSIS, npm@3 (windows only because of file path limits).
apt-get install git curl jq wget nodejs fakeroot
npm install -g n
n lts
autobin - Cross platform batch / shell scripts used to automatically build binaries.
Copyright (C) 2016 Storj Labs, Inc
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.