diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3d1daa35cb03826357ec028b9d3d80855bf63af..d984cf411c0112cb1c5c9d0c95b7850f1e2017c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,7 +82,25 @@ build: - pip install -r requirements_deploy.txt - make build -release: +release_appimage: + extends: + - .env + - .changes + stage: release + when: manual + script: + - apt-get install wget + - pip install -r requirements.txt + - pip install -r requirements_deploy.txt + - make build + - make appimage + artifacts: + paths: + - ci/appimage/Sakia_x86_64.AppImage +# only: +# - master + +release_pypi: extends: - .env - .push_to_github @@ -96,7 +114,7 @@ release: only: - master -release_test: +release_pypi_test: extends: .env stage: release when: manual diff --git a/ci/appimage/config.env b/ci/appimage/config.env index 0282bc25bd0d7c943069bcb1db61e62973efe874..aec598fc92284ccfb7493c9fd2f271093f431109 100644 --- a/ci/appimage/config.env +++ b/ci/appimage/config.env @@ -5,5 +5,5 @@ export PYTHON_SOURCE=https://www.python.org/ftp/python/3.6.10/Python-3.6.10.tgz export PIP_REQUIREMENTS=$(pwd)/../../dist/sakia-${version}-py3-none-any.whl # linuxdeploy appimage plugin -export OUTPUT=Sakia_x86_64-${version}.AppImage +export OUTPUT=Sakia_x86_64.AppImage