Skip to content

Commit e44dff1

Browse files
committed
cd - does not work in appveyor.yml - fix it
1 parent f93ac86 commit e44dff1

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.appveyor.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -137,26 +137,26 @@ for:
137137
- cd ~/.local/share/python-for-android/dists/serious_python/_python_bundle__arm64-v8a/_python_bundle
138138
- zip -r $BUNDLE_NAME .
139139
- mv $BUNDLE_NAME ../../libs/arm64-v8a
140-
- cd -
140+
- cd $APPVEYOR_BUILD_FOLDER
141141

142142
# armeabi-v7a
143143
- cd ~/.local/share/python-for-android/dists/serious_python/_python_bundle__armeabi-v7a/_python_bundle
144144
- zip -r $BUNDLE_NAME .
145145
- mv $BUNDLE_NAME ../../libs/armeabi-v7a
146-
- cd -
146+
- cd $APPVEYOR_BUILD_FOLDER
147147

148148
# armeabi-v7a
149149
- cd ~/.local/share/python-for-android/dists/serious_python/_python_bundle__x86_64/_python_bundle
150150
- zip -r $BUNDLE_NAME .
151151
- mv $BUNDLE_NAME ../../libs/x86_64
152-
- cd -
152+
- cd $APPVEYOR_BUILD_FOLDER
153153

154154
# package all .so files
155155
- DIST_FILE_NAME=python-android-dist-v$APPVEYOR_BUILD_VERSION.tar.gz
156156
- cd ~/.local/share/python-for-android/dists/serious_python/libs
157157
- tar -czvf $DIST_FILE_NAME *
158158
- appveyor PushArtifact $DIST_FILE_NAME -DeploymentName python-dist-android
159-
- cd -
159+
- cd $APPVEYOR_BUILD_FOLDER
160160

161161
deploy:
162162
provider: GitHub
@@ -384,53 +384,53 @@ for:
384384
385385
cd src/serious_python_platform_interface
386386
dart pub publish --force || exit 1
387-
cd -
387+
cd $APPVEYOR_BUILD_FOLDER
388388
389389
cd src/serious_python_android
390390
dart pub publish --force || exit 1
391-
cd -
391+
cd $APPVEYOR_BUILD_FOLDER
392392
393393
cd src/serious_python_darwin
394394
dart pub publish --force || exit 1
395-
cd -
395+
cd $APPVEYOR_BUILD_FOLDER
396396
397397
cd src/serious_python_windows
398398
dart pub publish --force || exit 1
399-
cd -
399+
cd $APPVEYOR_BUILD_FOLDER
400400
401401
cd src/serious_python_linux
402402
dart pub publish --force || exit 1
403-
cd -
403+
cd $APPVEYOR_BUILD_FOLDER
404404
405405
cd src/serious_python
406406
dart pub publish --force || exit 1
407-
cd -
407+
cd $APPVEYOR_BUILD_FOLDER
408408
409409
elif [[ "$APPVEYOR_PULL_REQUEST_NUMBER" == "" ]]; then
410410
411411
cd src/serious_python_platform_interface
412412
dart pub publish --dry-run
413-
cd -
413+
cd $APPVEYOR_BUILD_FOLDER
414414
415415
cd src/serious_python_android
416416
dart pub publish --dry-run
417-
cd -
417+
cd $APPVEYOR_BUILD_FOLDER
418418
419419
cd src/serious_python_darwin
420420
dart pub publish --dry-run
421-
cd -
421+
cd $APPVEYOR_BUILD_FOLDER
422422
423423
cd src/serious_python_windows
424424
dart pub publish --dry-run
425-
cd -
425+
cd $APPVEYOR_BUILD_FOLDER
426426
427427
cd src/serious_python_linux
428428
dart pub publish --dry-run
429-
cd -
429+
cd $APPVEYOR_BUILD_FOLDER
430430
431431
cd src/serious_python
432432
dart pub publish --dry-run
433-
cd -
433+
cd $APPVEYOR_BUILD_FOLDER
434434
fi
435435
436436
test: off

0 commit comments

Comments
 (0)