From 77880a437149dd59d876abd61aa536400ce8433f Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Sun, 17 May 2020 20:59:07 +0100 Subject: [PATCH] Update the README and the CI script with the new releases --- .gitlab-ci.yml | 14 +++++++++++--- README.md | 21 ++++++++++++++++++++- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 436dead..1ca62c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,18 +13,26 @@ stages: build-branches: extends: .build + script: + - cd /root/.fg42/ && fg42 -nw --script build.el + - cd /root/ && tar zcf ~/fg42.$CI_COMMIT_REF_NAME.tar.gz .fg42/ + - mv ~/fg42.$CI_COMMIT_REF_NAME.tar.gz /builds/$CI_PROJECT_PATH/ + artifacts: + name: "fg42.$CI_COMMIT_REF_SLUG" + when: on_success + paths: + - fg42.$CI_COMMIT_REF_NAME.tar.gz only: - branches - except: - - tags build-package: extends: .build script: - cd /root/.fg42/ && fg42 -nw --script build.el - - tar zcf ~/fg42.$CI_COMMIT_TAG.tar.gz ~/.fg42/ + - cd /root/ && tar zcf ~/fg42.$CI_COMMIT_TAG.tar.gz .fg42/ - mv ~/fg42.$CI_COMMIT_TAG.tar.gz /builds/$CI_PROJECT_PATH/ artifacts: + name: "fg42.$CI_COMMIT_TAG" when: on_success paths: - fg42.$CI_COMMIT_TAG.tar.gz diff --git a/README.md b/README.md index 3ef4049..f9a4a46 100755 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ have a handy code editor then **FG42** is the right choice for you. If you need help, or even want to just say hello, try our **IRC** channel on freenode: **#5hit**. +## Download +* [Latest Stable - 2.31.2](https://gitlab.com/FG42/FG42/-/jobs/artifacts/2.31.1/raw/fg42.2.31.2.tar.gz?job=build-package) +* [Latest Master](https://gitlab.com/FG42/FG42/-/jobs/artifacts/2.31.1/raw/fg42.master.tar.gz?job=build-branches) + ## Dependencies In order to run **FG42** you need **GNU Emacs >= 25**. FG42 uses several extensions internally @@ -15,7 +19,22 @@ which each of the has different external dependencies. To gain more information dependencies ( If we failed to tell you inside the **FG42** ) just run the `describe-extension` command. -## Installation +## Install pre built package + +Download one of the prebuilt packages and follow these instructions: + +```bash +# extract the content of the tarball in your home directory +$ tar zxvf .tar.gz -C ~/ +# You can clone it where ever your want +$ cd ~/.fg42/ +$ make install +# Run fg42, It will download and build some lisp dependencies on the first execution. +$ fg42 +``` + + +## Install from source In order to install **FG42**, issue the following commands: