| Hash | Commit message | Author | Date | Files | + | - |
1 | commit 6ba6c31e83f0aacba8fccaea90fe4a6f5677ba63 |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Fri Sep 13 22:29:47 2024 +0200 |
4 | |
5 | Add CI/CD pipeline for releases |
6 | --- |
7 | .gitlab-ci.yml | 14 ++++++++++++++ |
8 | 1 file changed, 14 insertions(+) |
9 | |
10 | diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml |
11 | new file mode 100644 |
12 | index 0000000..3feb31f |
13 | --- /dev/null |
14 | +++ b/.gitlab-ci.yml |
15 | @@ -0,0 +1,14 @@ |
16 | +stages: |
17 | + - release |
18 | + |
19 | +release_job: |
20 | + stage: release |
21 | + script: |
22 | + - echo "Creating release for tag $CI_COMMIT_TAG" |
23 | + only: |
24 | + - tags |
25 | + release: |
26 | + name: "Release $CI_COMMIT_TAG" |
27 | + description: "Release $CI_COMMIT_TAG" |
28 | + tag_name: "$CI_COMMIT_TAG" |
29 | + ref: "$CI_COMMIT_TAG" |