File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ pipeline {
147147 }
148148 }
149149 parallel {
150- stage (" Upload to Artifactory " ) {
150+ stage (" Upload to PyPi " ) {
151151 when {
152152 anyOf {
153153 expression { return params. FORCE_PYUPLOAD }
@@ -158,20 +158,20 @@ pipeline {
158158 }
159159 steps {
160160 script {
161- env. artifactoryUpload_result = " FAILURE"
161+ env. pypiUpload_result = " FAILURE"
162162 }
163- bbcGithubNotify(context : " artifactory /upload" , status : " PENDING" )
163+ bbcGithubNotify(context : " pypi /upload" , status : " PENDING" )
164164 sh ' rm -rf dist/*'
165- bbcMakeWheel (" py27" )
166- bbcMakeWheel (" py3" )
167- bbcTwineUpload(toxenv : " py3" )
165+ bbcMakeGlobalWheel (" py27" )
166+ bbcMakeGlobalWheel (" py3" )
167+ bbcTwineUpload(toxenv : " py3" , pypi : true )
168168 script {
169- env. artifactoryUpload_result = " SUCCESS" // This will only run if the steps above succeeded
169+ env. pypiUpload_result = " SUCCESS" // This will only run if the steps above succeeded
170170 }
171171 }
172172 post {
173173 always {
174- bbcGithubNotify(context : " artifactory /upload" , status : env. artifactoryUpload_result )
174+ bbcGithubNotify(context : " pypi /upload" , status : env. pypiUpload_result )
175175 }
176176 }
177177 }
Original file line number Diff line number Diff line change 1818
1919# Basic metadata
2020name = 'mediatimestamp'
21- version = '1.0.0-dev4 '
21+ version = '1.0.0'
2222description = 'A timestamp library for high precision nanosecond timestamps'
2323url = 'https://github.com/bbc/rd-apmm-python-lib-mediatimestamp'
2424author = 'James P. Weaver'
You can’t perform that action at this time.
0 commit comments