-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.gitlab-ci.yml
431 lines (410 loc) · 17.8 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
stages:
- Tests
- Documentation
- Release
- Build Release
# - Other
variables:
project_name: "$CI_PROJECT_NAME"
SEMANTIC_RELEASE_PACKAGE: "$CI_PROJECT_NAME"
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle"
services:
- name: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.9
alias: docker
workflow:
rules:
- if: '$CI_MERGE_REQUEST_EVENT_TYPE == "detached"'
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TITLE =~ /^RELEASE:.+$/ && $CI_COMMIT_BRANCH' # && $CI_COMMIT_TAG == null
when: never
- when: always
Build Test:
stage: Tests
image: docker.griefed.dev/eclipse-temurin:21-jdk
before_script:
- echo "**** Running in $CI_JOB_ID ****"
- echo "**** Java version ****"
- java -version
- echo "**** Allowing execution of gradlew ****"
- chmod +x gradlew
script:
- echo "**** Building ServerPackCreator ****"
- "./gradlew build --info --full-stacktrace"
- "./gradlew cyclonedxBom --info --full-stacktrace"
- echo "**** Uploading BOM ****"
- |
curl -X "POST" "$DEPENDENCYTRACK_URL" \
-H 'Content-Type: multipart/form-data' \
-H "X-Api-Key: $DEPENDENCYTRACK_TOKEN" \
-F "autoCreate=true" \
-F "projectName=ServerPackCreator" \
-F "projectVersion=$CI_COMMIT_BRANCH" \
-F "parentName=ServerPackCreator" \
-F "parentVersion=branches" \
-F "bom=@build/reports/bom.xml"
retry: 1
rules:
- if: '$CI_SERVER_HOST == "git.griefed.de"'
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
POLICY: pull-push
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
variables:
POLICY: pull
artifacts:
when: always
name: "$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME"
expose_as: "Gradle-Test-Artifacts"
paths:
- serverpackcreator-api/build
- serverpackcreator-app/build
- serverpackcreator-web-frontend/dist
- serverpackcreator-plugin-example/build
expire_in: 1 week
reports:
junit:
- serverpackcreator-api/build/test-results/test/TEST-*.xml
- serverpackcreator-app/build/test-results/test/TEST-*.xml
Docker Test:
stage: Tests
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.17
before_script:
- docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
- docker login -u "$DOCKERHUB_USER" -p "$GITHUB_TOKEN" ghcr.io
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder
script:
- docker buildx build --push --no-cache --platform linux/amd64
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA"
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA"
--file Dockerfile .
retry: 1
rules:
- if: '$CI_SERVER_HOST == "git.griefed.de"' # Remove once GitLab no longer throws javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
Generate Release:
stage: Release
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.9
needs:
- job: Build Test
artifacts: false
# - job: Docker Test
# artifacts: false
script:
- npx semantic-release
rules:
- if: '$CI_COMMIT_BRANCH == "alpha" && $CI_COMMIT_TITLE !~ /^RELEASE:.+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_BRANCH == "beta" && $CI_COMMIT_TITLE !~ /^RELEASE:.+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TITLE !~ /^RELEASE:.+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Build Release:
stage: Build Release
image: docker.griefed.dev/eclipse-temurin:21-jdk
needs:
- job: Build Test
artifacts: false
optional: false
- job: release_job
optional: true
artifacts: false
before_script:
- echo "**** Running in $CI_JOB_ID ****"
- echo "**** Java version ****"
- java -version
- echo "**** Allowing execution of gradlew ****"
- chmod +x gradlew
script:
- echo "**** Building ServerPackCreator ****"
- "./gradlew generateLicenseReport -Pversion=${CI_COMMIT_TAG} --info --full-stacktrace"
- "./gradlew build -Pversion=${CI_COMMIT_TAG} --info --full-stacktrace -x :serverpackcreator-api:test -x :serverpackcreator-app:test"
- "./gradlew cyclonedxBom -Pversion=${CI_COMMIT_TAG} --info --full-stacktrace"
- echo "**** Listing build directory ****"
- LC_COLLATE=C ls -ahl --group-directories-first --color=auto */build
- LC_COLLATE=C ls -ahl --group-directories-first --color=auto */build/*
- echo "**** Uploading packages ****"
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file serverpackcreator-app/build/libs/serverpackcreator-app-${CI_COMMIT_TAG}.jar "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${CI_PROJECT_NAME}/${CI_COMMIT_TAG}/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.jar"'
- echo "**** Create asset links ****"
- 'curl --request POST --header "PRIVATE-TOKEN: ${GITLAB_TOKEN}" --data tag_name="${CI_COMMIT_TAG}" --data name="${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.jar" --data url="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${CI_PROJECT_NAME}/${CI_COMMIT_TAG}/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.jar" --data link_type="package" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases/${CI_COMMIT_TAG}/assets/links"'
- echo "**** Uploading BOM ****"
- |
curl -X "POST" "$DEPENDENCYTRACK_URL" \
-H 'Content-Type: multipart/form-data' \
-H "X-Api-Key: $DEPENDENCYTRACK_TOKEN" \
-F "autoCreate=true" \
-F "projectName=ServerPackCreator" \
-F "projectVersion=${CI_COMMIT_TAG%%.*}" \
-F "bom=@build/reports/bom.xml"
- |
curl -X "POST" "$DEPENDENCYTRACK_URL" \
-H 'Content-Type: multipart/form-data' \
-H "X-Api-Key: $DEPENDENCYTRACK_TOKEN" \
-F "autoCreate=true" \
-F "projectName=ServerPackCreator" \
-F "projectVersion=${CI_COMMIT_TAG}" \
-F "parentName=ServerPackCreator" \
-F "parentVersion=${CI_COMMIT_TAG%%.*}" \
-F "bom=@build/reports/bom.xml"
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-(alpha|beta)\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Sign Java Publication:
stage: Build Release
image: docker.griefed.dev/eclipse-temurin:21-jdk
needs:
- job: Build Release
artifacts: false
optional: false
before_script:
- echo "**** Running in $CI_JOB_ID ****"
- echo "**** Java version ****"
- java -version
- echo "**** Allowing execution of gradlew ****"
- chmod +x gradlew
script:
- echo "**** Publishing Maven Artifacts ****"
- "./gradlew dokkaJavadocJar :serverpackcreator-api:signMavenJavaPublication -Pversion=${CI_COMMIT_TAG} --info --stacktrace -x :serverpackcreator-api:test -x :serverpackcreator-app:test"
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-beta\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Publish GitHub:
stage: Build Release
image: docker.griefed.dev/eclipse-temurin:21-jdk
needs:
- job: Sign Java Publication
optional: false
artifacts: true
script:
- echo "**** Publishing Maven Artifacts to GitHub ****"
- "./gradlew :serverpackcreator-api:publishMavenJavaPublicationToGitHubPackagesRepository -Pversion=${CI_COMMIT_TAG} --info --stacktrace -x :serverpackcreator-api:test -x :serverpackcreator-app:test"
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-beta\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Publish GitLab:
stage: Build Release
image: docker.griefed.dev/eclipse-temurin:21-jdk
needs:
- job: Sign Java Publication
optional: false
artifacts: true
script:
- echo "**** Publishing Maven Artifacts to GitLab ****"
- "./gradlew :serverpackcreator-api:publishMavenJavaPublicationToGitLabRepository -Pversion=${CI_COMMIT_TAG} --info --stacktrace -x :serverpackcreator-api:test -x :serverpackcreator-app:test"
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-beta\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Publish GitGriefed:
stage: Build Release
image: docker.griefed.dev/eclipse-temurin:21-jdk
needs:
- job: Sign Java Publication
optional: false
artifacts: true
script:
- echo "**** Publishing Maven Artifacts GitGriefed ****"
- "./gradlew :serverpackcreator-api:publishMavenJavaPublicationToGitGriefedRepository -Pversion=${CI_COMMIT_TAG} --info --stacktrace -x :serverpackcreator-api:test -x :serverpackcreator-app:test"
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-beta\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Publish OSSRH:
stage: Build Release
image: docker.griefed.dev/eclipse-temurin:21-jdk
needs:
- job: Sign Java Publication
optional: false
artifacts: true
script:
- echo "**** Publishing Maven Artifacts to OSSRH ****"
- "./gradlew :serverpackcreator-api:publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=${CI_COMMIT_TAG} --info --stacktrace -x :serverpackcreator-api:test -x :serverpackcreator-app:test"
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-beta\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Build Docker Release:
stage: Build Release
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.17
needs:
- job: Build Test
artifacts: true
optional: false
before_script:
- docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
- docker login -u "$DOCKERHUB_USER" -p "$GITHUB_TOKEN" ghcr.io
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder
script:
- docker buildx build --push --no-cache --platform linux/amd64
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG"
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:latest"
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG"
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:latest"
--build-arg VERSION=$CI_COMMIT_TAG
--file Dockerfile .
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Build Docker PreRelease:
stage: Build Release
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.17
needs:
- job: Build Test
artifacts: true
optional: false
before_script:
- docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
- docker login -u "$DOCKERHUB_USER" -p "$GITHUB_TOKEN" ghcr.io
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder
script:
- docker buildx build --push --no-cache --platform linux/amd64
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG"
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG"
--build-arg VERSION=$CI_COMMIT_TAG
--file Dockerfile .
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-(alpha|beta)\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Writerside Build:
stage: Documentation
image: registry.jetbrains.team/p/writerside/builder/writerside-builder:241.15989
variables:
ARTIFACT: webHelpSPCH2-all.zip
INSTANCE: Writerside/spch
script:
- cp -f img/*.png serverpackcreator-help/Writerside/topics/img/
- cp -f img/*.webp serverpackcreator-help/Writerside/topics/img/
- cp -f img/*.gif serverpackcreator-help/Writerside/topics/img/
- cp -f CHANGELOG.md serverpackcreator-help/Writerside/topics/CHANGELOG.md
- cp -f CODE_OF_CONDUCT.md serverpackcreator-help/Writerside/topics/CODE_OF_CONDUCT.md
- cp -f CONTRIBUTING.md serverpackcreator-help/Writerside/topics/CONTRIBUTING.md
- cp -f HELP.md serverpackcreator-help/Writerside/topics/HELP.md
- cp -f LICENSE serverpackcreator-help/Writerside/topics/LICENSE.md
- cp -f README.md serverpackcreator-help/Writerside/topics/README.md
- cp -f SECURITY.md serverpackcreator-help/Writerside/topics/SECURITY.md
- rm -f /tmp/.X99-lock || true
- set -e
- export DISPLAY=:99
- Xvfb :99 &
- /opt/builder/bin/idea.sh helpbuilderinspect -source-dir serverpackcreator-help -product $INSTANCE --runner gitlab -output-dir public/ || true
- echo "Test existing of $ARTIFACT artifact"
- test -e public/$ARTIFACT
artifacts:
paths:
- public/$ARTIFACT
- public/report.json
expire_in: 1 week
rules:
- if: '$CI_SERVER_HOST == "git.griefed.de"'
Writerside Docker:
stage: Documentation
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.17
needs:
- job: Writerside Build
artifacts: true
optional: false
before_script:
- docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
- docker login -u "$DOCKERHUB_USER" -p "$GITHUB_TOKEN" ghcr.io
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder
script:
- docker buildx build --push --no-cache --platform linux/amd64
--tag "ghcr.io/$DOCKERHUB_USER/serverpackcreator-help:$CI_COMMIT_SHORT_SHA"
--tag "index.docker.io/$DOCKERHUB_USER/serverpackcreator-help:$CI_COMMIT_SHORT_SHA"
--build-arg VERSION=$CI_COMMIT_SHORT_SHA
--file Dockerfile.help .
rules:
- if: '$CI_COMMIT_TAG !~ /^\d+\.\d+\.\d+-beta\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
- if: '$CI_COMMIT_TAG !~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Writerside Docker Latest:
stage: Documentation
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.17
needs:
- job: Writerside Build
artifacts: true
optional: false
before_script:
- docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
- docker login -u "$DOCKERHUB_USER" -p "$GITHUB_TOKEN" ghcr.io
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder
script:
- docker buildx build --push --no-cache --platform linux/amd64
--tag "ghcr.io/$DOCKERHUB_USER/serverpackcreator-help:$CI_COMMIT_TAG"
--tag "ghcr.io/$DOCKERHUB_USER/serverpackcreator-help:latest"
--tag "index.docker.io/$DOCKERHUB_USER/serverpackcreator-help:$CI_COMMIT_TAG"
--tag "index.docker.io/$DOCKERHUB_USER/serverpackcreator-help:latest"
--build-arg VERSION=$CI_COMMIT_TAG
--file Dockerfile.help .
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Writerside Docker Prerelease:
stage: Documentation
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.17
needs:
- job: Writerside Build
artifacts: true
optional: false
before_script:
- docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
- docker login -u "$DOCKERHUB_USER" -p "$GITHUB_TOKEN" ghcr.io
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder
script:
- docker buildx build --push --no-cache --platform linux/amd64
--tag "ghcr.io/$DOCKERHUB_USER/serverpackcreator-help:$CI_COMMIT_TAG"
--tag "index.docker.io/$DOCKERHUB_USER/serverpackcreator-help:$CI_COMMIT_TAG"
--build-arg VERSION=$CI_COMMIT_TAG
--file Dockerfile.help .
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-beta\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
pages:
stage: Documentation
image: docker.griefed.dev/eclipse-temurin:21-jdk
allow_failure: true
before_script:
- chmod +x gradlew
script:
- "./gradlew :serverpackcreator-api:dokkaHtml -Pversion='' --full-stacktrace --info -x test"
- cp -Rf serverpackcreator-api/build/dokka public
- LC_COLLATE=C ls -ahl --group-directories-first --color=auto public
artifacts:
paths:
- public
expire_in: 1 week
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/ && $CI_SERVER_HOST == "git.griefed.de"'
Update README:on-schedule:
stage: Documentation
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.19
only:
- schedules
before_script:
- |-
echo "#### Ensuring act-config ####"
echo "-P ubuntu-latest=catthehacker/ubuntu:act-latest" > ~/.actrc
echo "-P ubuntu-22.04=catthehacker/ubuntu:act-22.04" >> ~/.actrc
echo "-P ubuntu-20.04=catthehacker/ubuntu:act-20.04" >> ~/.actrc
echo "-P ubuntu-18.04=catthehacker/ubuntu:act-18.04" >> ~/.actrc
script:
- |-
echo "#### Updating Sponsors and Blog Posts and Contribution Graph ####"
act -v \
-s GITHUB_TOKEN=$GITHUB_TOKEN \
-s GIT_USER=$GIT_USER \
-s GIT_MAIL=$GIT_MAIL \
-s GITLAB_TOKEN=$GITLAB_TOKEN \
-s CI_SERVER_HOST=$CI_SERVER_HOST \
-s CI_PROJECT_TITLE=$CI_PROJECT_TITLE \
-W '.github/workflows/update_readme.yml'
after_script:
- |-
echo "Done."
release_job:
stage: Release
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- echo "Running the release job to mirror release generation from parent repository."
release:
tag_name: $CI_COMMIT_TAG
name: 'Release $CI_COMMIT_TAG'
description: '## Changelogs for this release available at:<br><br>1. **[GitHub](https://github.com/Griefed/ServerPackCreator/releases/tag/$CI_COMMIT_TAG)**<br>2. **[GitGriefed](https://git.griefed.de/Griefed/ServerPackCreator/-/releases/$CI_COMMIT_TAG)**<br>3. **[CHANGELOG.md](https://gitlab.com/Griefed/ServerPackCreator/-/blob/$CI_COMMIT_TAG/CHANGELOG.md)**<br>'
rules:
- if: '$CI_COMMIT_TAG && $CI_SERVER_HOST == "gitlab.com"'