User Tools

Site Tools


gitlab-ci-release

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gitlab-ci-release [2020/08/31 00:19]
admin
gitlab-ci-release [2020/08/31 00:51]
admin
Line 1: Line 1:
 ====== Gitlab CI create release ====== ====== Gitlab CI create release ======
  
-Example to create a PHP archive (phar) and link the generated artifact to the relase if a `Release Noteis set.+Example to create a PHP archive (phar) and link the generated artifact to the release if a **Release Note** is set.
  
   * ''create_version'' Build and attach files as artifacts.   * ''create_version'' Build and attach files as artifacts.
     * ''echo 'JOB_ARTIFACT_ID='$CI_JOB_ID > build.env'' - Will save the jobs id to env var     * ''echo 'JOB_ARTIFACT_ID='$CI_JOB_ID > build.env'' - Will save the jobs id to env var
-  * ''release'' Attach file to relase if tag is a relase+  * ''release'' Add asset link to release if tag is a release
     * ''export $(xargs <build.env)'' - Exports env vars set in ''build.env'' file     * ''export $(xargs <build.env)'' - Exports env vars set in ''build.env'' file
  
gitlab-ci-release.txt ยท Last modified: 2020/08/31 00:51 by admin