Commit 986d592b authored by ab0027's avatar ab0027 💬
Browse files

Added beta bucket name support

parent e046a61e
Pipeline #3000 passed with stages
in 25 minutes and 22 seconds
......@@ -21,16 +21,16 @@ after_script:
- du -h *.apk || true
- echo "Pushing Artifacts"
- export BUCKET_DATE=$(date +'%Y-%m-%d')
- if [ $BUILD_TYPE = 'nightly' -o $BUILD_TYPE = 'devel' ]; then
mc mb nx/maui/$BUILD_TYPE/$BUCKET_DATE/;
mc cp *amd64*.AppImage nx/maui/$BUILD_TYPE/$BUCKET_DATE/ || true;
mc cp *arm64*.AppImage nx/maui/$BUILD_TYPE/$BUCKET_DATE/ || true;
mc cp *amd64*.deb nx/maui/$BUILD_TYPE/$BUCKET_DATE/ || true;
mc cp *arm64*.deb nx/maui/$BUILD_TYPE/$BUCKET_DATE/ || true;
mc cp *.apk nx/maui/$BUILD_TYPE/$BUCKET_DATE/ || true;
- if [[ "$BUILD_TYPE" == 'nightly' -o "$BUILD_TYPE" == 'devel' -o "$BUILD_TYPE" == "beta"* ]]; then
mc mb "nx/maui/$BUILD_TYPE/$BUCKET_DATE/";
mc cp *amd64*.AppImage "nx/maui/$BUILD_TYPE/$BUCKET_DATE/" || true;
mc cp *arm64*.AppImage "nx/maui/$BUILD_TYPE/$BUCKET_DATE/" || true;
mc cp *amd64*.deb "nx/maui/$BUILD_TYPE/$BUCKET_DATE/" || true;
mc cp *arm64*.deb "nx/maui/$BUILD_TYPE/$BUCKET_DATE/" || true;
mc cp *.apk "nx/maui/$BUILD_TYPE/$BUCKET_DATE/" || true;
echo $BUCKET_DATE | mc pipe nx/maui/$BUILD_TYPE/LATEST;
fi
- if [ $BUILD_TYPE = 'stable' ]; then
- if [ "$BUILD_TYPE" = 'stable' ]; then
mc mb nx/maui/$BUILD_TYPE/mauikit/$BRANCH_MAUIKIT/;
mc mb nx/maui/$BUILD_TYPE/index/$BRANCH_INDEX/;
mc mb nx/maui/$BUILD_TYPE/nota/$BRANCH_NOTA/;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment