Fix link to the repo archive.

GitLab no longer supports the old format.
This commit is contained in:
Roman Telezhynskyi 2021-05-14 10:42:06 +03:00
parent a90f184f90
commit d1da6eb553

View File

@ -40,7 +40,7 @@ build:
# - .... # - ....
# #
files: files:
- "https://gitlab.com/smart-pattern/valentina/repository/archive.tar.gz?ref=develop" - "https://gitlab.com/smart-pattern/valentina/-/archive/develop/valentina-develop.tar.gz"
# OPTIONAL: ingredient packages are packages which become part of the AppImage. # OPTIONAL: ingredient packages are packages which become part of the AppImage.
# you may want to remove parts of their content in script section. # you may want to remove parts of their content in script section.
@ -53,7 +53,6 @@ script:
# - $BUILD_SOURCE_DIR point to the source directory # - $BUILD_SOURCE_DIR point to the source directory
# - $BUILD_APPDIR point to the AppDir. This directory will become the content of the AppImage # - $BUILD_APPDIR point to the AppDir. This directory will become the content of the AppImage
- cd $BUILD_SOURCE_DIR - cd $BUILD_SOURCE_DIR
- mv -v "archive.tar.gz?ref=develop" valentina-develop.tar.gz
- tar zxvf $BUILD_SOURCE_DIR/valentina-develop.tar.gz - tar zxvf $BUILD_SOURCE_DIR/valentina-develop.tar.gz
- mv -v valentina-develop-* valentina - mv -v valentina-develop-* valentina
- cd $BUILD_SOURCE_DIR/valentina - cd $BUILD_SOURCE_DIR/valentina