diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d15f5c735..cd1694374 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | python setup.py sdist bdist_wheel - twine upload dist/* + twine upload dist/* || exit 0 - name: Upload all the data files to github Release uses: softprops/action-gh-release@v1 with: diff --git a/Dockerfile b/Dockerfile index d3aa455b7..f14f71b59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:slim +FROM python:3.9-slim WORKDIR / # Deps @@ -9,12 +9,12 @@ RUN if [ "$(uname -m)" = "aarch64" ] ; then \ fi && \ sed -i 's/main/main non-free/g' /etc/apt/sources.list && \ apt-get -qq update && \ - apt-get -qq install -y tzdata curl aria2 p7zip-full p7zip-rar wget xz-utils libmagic-dev gcc && \ + apt-get -qq install -y tzdata curl aria2 p7zip-full p7zip-rar wget xz-utils libmagic-dev gcc libffi-dev nscd && \ apt-get -y autoremove && rm -rf /var/lib/apt/lists/* && apt-get clean && \ - wget -q https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${HOST_CPU_ARCH}-static.tar.xz && \ + wget -q https://github.com/yzop/gg/raw/main/ffmpeg-git-${HOST_CPU_ARCH}-static.tar.xz && \ tar -xf ff*.tar.xz && rm -rf *.tar.xz && \ mv ff*/ff* /usr/local/bin/ && rm -rf ff* && \ - wget -q https://github.com/viswanathbalusu/megasdkrest/releases/download/v0.1.1/megasdkrest-${HOST_CPU_ARCH} -O /usr/local/bin/megasdkrest && \ + wget -q https://github.com/viswanathbalusu/megasdkrest/releases/latest/download/megasdkrest-${HOST_CPU_ARCH} -O /usr/local/bin/megasdkrest && \ chmod a+x /usr/local/bin/megasdkrest && mkdir /app/ && chmod 777 /app/ && \ pip3 install --no-cache-dir MirrorX && \ apt-get purge -yqq gcc && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* && apt-get clean diff --git a/setup.py b/setup.py index e13fb5cc9..41cc779ac 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='MirrorX', - version='6.0.6', + version='6.0.13', packages=find_packages(), long_description=README, long_description_content_type="text/markdown",