File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish wheels
22
3- on : # only when we tag the master branch
3+
4+ on :
45 push :
56 tags :
6- - v[0-9]+.*
7- branches :
8- - master
7+ - v[1-9]+.*
8+
99
1010jobs :
1111 build_wheels :
8787
8888
8989 publish-to-testpypi :
90+ if : github.ref_type == 'tag' && github.event.base_ref != 'refs/heads/master'
9091 needs : [build_wheels, build_sdist]
9192 runs-on : ubuntu-latest
9293
@@ -105,12 +106,12 @@ jobs:
105106 path : dist
106107
107108 - name : Publish distribution to Test PyPI
108- # if: github.ref_type == 'branch'
109109 uses : pypa/gh-action-pypi-publish@release/v1
110110 with :
111111 repository-url : https://test.pypi.org/legacy/
112112
113113 publish-to-pypi :
114+ if : github.ref_type == 'tag' && github.event.base_ref == 'refs/heads/master'
114115 needs : [build_wheels, build_sdist]
115116 runs-on : ubuntu-latest
116117
@@ -129,5 +130,4 @@ jobs:
129130 path : dist
130131
131132 - name : Publish distribution to PyPI
132- # if: github.ref_type == 'tag'
133133 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 11name : Testsuite
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ # - master
7+ # - releases/*
8+ - ' **' # cover everything
9+ tags-ignore :
10+ - ' **' # but never on tags
411
512jobs :
613
Original file line number Diff line number Diff line change 3737
3838
3939__title__ = 'GA4GH cryptographic utilities'
40- __version__ = '1.8' # VERSION in header is 1 (as 4 bytes little endian)
40+ __version__ = '1.8.2 ' # VERSION in header is 1 (as 4 bytes little endian)
4141__author__ = 'Frédéric Haziza'
4242__author_email__ = 'silverdaz@gmail.com'
4343__license__ = 'Apache License 2.0'
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def run(self):
106106 print ('Could not install bash completion:' , repr (e ), file = sys .stderr )
107107
108108setup (name = 'crypt4gh' ,
109- version = '1.8' ,
109+ version = '1.8.2 ' ,
110110 url = 'https://www.github.com/EGA-archive/crypt4gh' ,
111111 license = 'Apache License 2.0' ,
112112 author = 'Frédéric Haziza' ,
You can’t perform that action at this time.
0 commit comments