CI: Update package script

This commit is contained in:
André Apitzsch 2017-09-05 00:16:09 +02:00
parent c3b1c1dd6a
commit 996607d656
1 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,8 @@ run-pylint:
run-build: run-build:
stage: build stage: build
script: script:
- ./autogen.sh - python3 setup.py sdist
- make dist - cd dist
- export FN="gajim-default-"$(date +%F)".tar" - export FN="gajim-default-"$(date +%F)".tar"
- mv gajim-*.tar.gz $FN.gz - mv gajim-*.tar.gz $FN.gz
- mkdir tmp_add_plugins - mkdir tmp_add_plugins
@ -29,6 +29,7 @@ run-build:
- tar xzf $FN.gz - tar xzf $FN.gz
- rm $FN.gz - rm $FN.gz
- export GF=$(find . -maxdepth 1 -type d -name 'gajim-*') - export GF=$(find . -maxdepth 1 -type d -name 'gajim-*')
- mkdir -p $GF/plugins/
- cd $GF/plugins/ - cd $GF/plugins/
- curl -O https://ftp.gajim.org/plugins_1/plugin_installer.zip - curl -O https://ftp.gajim.org/plugins_1/plugin_installer.zip
- unzip plugin_installer.zip - unzip plugin_installer.zip