Skip to content

Commit

Permalink
Release binaries (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
k9ert committed Sep 1, 2020
1 parent 346a1a0 commit e145a91
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test:
# - python3 tests/conftest.py
- pytest --docker

release:
release_pip:
stage: releasing
only:
- tags
Expand All @@ -53,4 +53,13 @@ release:
# Add --repository-url https://test.pypi.org/legacy/ for testing the release procedure
- ls -l dist && python3 -m twine upload --verbose --user __token__ dist/*


release_binaries:
stage: releasing
only:
- tags
script:
# Make sure the version-number is compatibe to the scheme
- if ! [[ $CI_COMMIT_TAG =~ ^v[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}$ ]]; then exit 1; fi
- pip3 install github-binary-upload
- cd pyinstaller && ./build-unix.sh $CI_COMMIT_TAG
- pwd && echo $GH_BIN_UPLOAD_PW | github-binary-upload -u gitlab_upload_release_binaries cryptoadvance/specter-desktop $CI_COMMIT_TAG ./release/specterd-${CI_COMMIT_TAG}-x86_64-linux-gnu.tar.gz ./release/specter_desktop-${CI_COMMIT_TAG}-x86_64-linux-gnu.tar.gz

0 comments on commit e145a91

Please sign in to comment.