Skip to content

Commit 39d8afe

Browse files
Fix deploy steps
1 parent 1861f16 commit 39d8afe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
command: python -m cibuildwheel --output-dir wheelhouse
4848
environment:
4949
CIBW_BUILD: "cp<< parameters.python-version >>-*"
50+
CIBW_ENVIRONMENT: "CIRCLECI=$CIRCLECI CIRCLE_TAG=$CIRCLE_TAG"
5051
CIBW_SKIP: "*-musllinux_* pp*"
5152
CIBW_ARCHS_LINUX: "x86_64"
5253
CIBW_BEFORE_TEST: pip install .[test]

build_tools/github/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Extract version from git tag
4-
VERSION=$(echo ${GITHUB_REF} | sed 's/refs\/tags\/v\?//')
4+
VERSION=${GITHUB_REF#refs/tags/v}
55

66
if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.?[0-9]*[a-zA-Z]+[0-9]*$ ]]; then
77
echo "Pre-release version: $VERSION - Uploading to test pypi"

0 commit comments

Comments
 (0)