Changed the approach to packaging in the CI script

This commit is contained in:
Sameer Rahmani 2020-03-17 22:27:12 +00:00
parent 6a24ba3430
commit 84225a72b9
1 changed files with 2 additions and 2 deletions

View File

@ -21,10 +21,10 @@ build-package:
extends: .build extends: .build
script: script:
- cd ~/.fg42/ && fg42 -nw --script build.el - cd ~/.fg42/ && fg42 -nw --script build.el
- cd && tar zcf ~/fg42.$CI_COMMIT_TAG.tar.gz ~/.fg42/
artifacts: artifacts:
when: on_success when: on_success
name: fg42.$CI_COMMIT_TAG
paths: paths:
- ~/fg42.$CI_COMMIT_TAG.tar.gz - ~/.fg42
only: only:
- tags - tags