Skip to content

Commit

Permalink
Merge pull request #13 from CybercentreCanada/build_paths
Browse files Browse the repository at this point in the history
move echo after multi-version export
  • Loading branch information
cccs-rs authored Jul 26, 2021
2 parents 28e90e0 + 32b293f commit 526cb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ stages:
echo "Building $VERSION On branch $BRANCH"
if [[ "$VERSION" == *stable* ]] && [[ $BRANCH != "master" ]]; then exit 1; fi
if [[ "$VERSION" == *dev* ]] && [[ $BRANCH != "dev" ]]; then exit 1; fi
echo $VERSION > assemblyline_service_client/VERSION
export VERSION=${VERSION/stable}
export VERSION=${VERSION/beta/b}
echo $VERSION > assemblyline_service_client/VERSION
sudo env "PATH=$PATH" python -m pip install --no-cache-dir -U wheel cython pip
python setup.py bdist_wheel
- publish: $(System.DefaultWorkingDirectory)/dist/
Expand Down

0 comments on commit 526cb50

Please sign in to comment.