diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 180b799b5dd5f4f346cddcbeb90607ec40d09c00..3e6e81376b3a75a2ee32921297e2bcf9081b924f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,11 @@ variables: build: stage: build image: debian:latest - extends: .official-releases + rules: + # official release + - if: $CI_COMMIT_TAG =~ /\A\d+\.\d+\.\d+\z/ + # latest + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH script: - ./compile.sh --ci --minify artifacts: diff --git a/README.md b/README.md index f5c3ae4163306031dd695bc9fd43b6f488111d3a..be7f1ce0b26e3e206a7e8a1e5ae3d6ee30053e68 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Pregmod is a modification of the original [Free Cities](https://freecitiesblog.b ## Play the game -You can download the game over on the [release page](https://gitgud.io/pregmodfan/fc-pregmod/-/releases) +You can download compiled files and source archives from the [Releases page](https://gitgud.io/pregmodfan/fc-pregmod/-/releases), and the [build](https://gitgud.io/pregmodfan/fc-pregmod/-/jobs/artifacts/pregmod-master/download?job=build) from the latest commit to the master branch. Alternatively, you can build the game yourself: