Skip to content

Commit

Permalink
build: update expected package filename
Browse files Browse the repository at this point in the history
  • Loading branch information
mbdevpl committed Jun 12, 2024
1 parent 1fc1e4d commit 6fec459
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {
}

environment {
PYTHON_PACKAGE = 'version-query'
PYTHON_PACKAGE = 'version_query'
}

agent {
Expand All @@ -24,7 +24,7 @@ pipeline {

stage('Lint') {
environment {
PYTHON_MODULES = "${env.PYTHON_PACKAGE.replace('-', '_')} test *.py"
PYTHON_MODULES = "${env.PYTHON_PACKAGE} test *.py"
}
steps {
sh """#!/usr/bin/env bash
Expand Down Expand Up @@ -93,7 +93,7 @@ pipeline {
sh """#!/usr/bin/env bash
set -Eeuxo pipefail
python3 -m twine upload \
dist/${PYTHON_PACKAGE.replace('-', '_')}-${VERSION}-py3-none-any.whl \
dist/${PYTHON_PACKAGE}-${VERSION}-py3-none-any.whl \
dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz \
dist/${PYTHON_PACKAGE}-${VERSION}.zip
"""
Expand All @@ -110,7 +110,7 @@ pipeline {
steps {
script {
githubUtils.createRelease([
"dist/${PYTHON_PACKAGE.replace('-', '_')}-${VERSION}-py3-none-any.whl",
"dist/${PYTHON_PACKAGE}-${VERSION}-py3-none-any.whl",
"dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz",
"dist/${PYTHON_PACKAGE}-${VERSION}.zip"
])
Expand Down

0 comments on commit 6fec459

Please sign in to comment.