Update library id in tagged step
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -46,7 +46,7 @@ steps:
|
|||||||
from_secret: SeafileApiKey
|
from_secret: SeafileApiKey
|
||||||
APK_FILE: app/build/outputs/apk/release/app-release.apk
|
APK_FILE: app/build/outputs/apk/release/app-release.apk
|
||||||
BUNDLE_FILE: app/build/outputs/bundle/release/app-release.aab
|
BUNDLE_FILE: app/build/outputs/bundle/release/app-release.aab
|
||||||
SEAFILE_REPO: daffda8b-5840-4a65-b6d0-73b991facfb6
|
SEAFILE_REPO: 6debeef9-121e-46ba-acc7-81e109fdcbdd
|
||||||
commands:
|
commands:
|
||||||
- 'UPLOAD_URL=$(curl -H "Authorization: Token $SEAFILE_API_KEY" https://seafile.zobrist.me/api2/repos/$SEAFILE_REPO/upload-link/ | tr -d "\"")'
|
- 'UPLOAD_URL=$(curl -H "Authorization: Token $SEAFILE_API_KEY" https://seafile.zobrist.me/api2/repos/$SEAFILE_REPO/upload-link/ | tr -d "\"")'
|
||||||
- 'curl -H "Authorization: Token $SEAFILE_API_KEY" -F file=@$APK_FILE -F parent_dir=/ -F relative_path=tagged/$DRONE_TAG/ -F replace=1 "$UPLOAD_URL"'
|
- 'curl -H "Authorization: Token $SEAFILE_API_KEY" -F file=@$APK_FILE -F parent_dir=/ -F relative_path=tagged/$DRONE_TAG/ -F replace=1 "$UPLOAD_URL"'
|
||||||
|
|||||||
Reference in New Issue
Block a user