Skip to content

Commit acea495

Browse files
Merge pull request #52 from NovelaNeuro/user/wmerynda/fix_upload
new version 0.0.009
2 parents 31eb28f + d018120 commit acea495

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

conda_upload.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ echo "Building conda package..."
1111
conda build . -c conda-forge --no-include-recipe || exit 1
1212

1313
echo "Move conda package..."
14-
mv ${CONDA_BUILD_PATH}/linux-64/${PKG_NAME}-${VERSION}-py37_0.tar.bz2 ${CONDA_BUILD_PATH} || exit 1
14+
mv ${CONDA_BUILD_PATH}/linux-64/${PKG_NAME}-${VERSION}-py36_0.tar.bz2 ${CONDA_BUILD_PATH} || exit 1
1515

1616
echo "Making new_tar dir..."
1717
mkdir ${CONDA_BUILD_PATH}/new_tar || exit 1
1818

1919
echo "Extracting conda package..."
20-
tar -xf ${CONDA_BUILD_PATH}/${PKG_NAME}-${VERSION}-py37_0.tar.bz2 -C ${CONDA_BUILD_PATH}/new_tar || exit 1
20+
tar -xf ${CONDA_BUILD_PATH}/${PKG_NAME}-${VERSION}-py36_0.tar.bz2 -C ${CONDA_BUILD_PATH}/new_tar || exit 1
2121

2222
cd ${CONDA_BUILD_PATH}/new_tar || exit 1
2323

2424
echo "Creating new conda package without some files..."
25-
tar -cjvf ${PKG_NAME}-${VERSION}-py37_0.tar.bz2 --exclude='*.sh' --exclude='*.cfg' --exclude='*.pyc'--exclude='*.pytest_cache' --exclude='*.gitignore' info lib || exit 1
25+
tar -cjvf ${PKG_NAME}-${VERSION}-py36_0.tar.bz2 --exclude='*.sh' --exclude='*.cfg' --exclude='*.pyc'--exclude='*.pytest_cache' --exclude='*.gitignore' info lib || exit 1
2626

2727
cd ..
2828

2929
echo "Move conda package to linux dir..."
30-
mv new_tar/${PKG_NAME}-${VERSION}-py37_0.tar.bz2 linux-64 || exit 1
30+
mv new_tar/${PKG_NAME}-${VERSION}-py36_0.tar.bz2 linux-64 || exit 1
3131

3232
echo "Converting conda package..."
3333
conda convert --platform osx-64 $CONDA_BUILD_PATH/linux-64/***.tar.bz2 --output-dir $CONDA_BUILD_PATH -q || exit 1

0 commit comments

Comments
 (0)