-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvalhalla.yml
More file actions
45 lines (44 loc) · 1.58 KB
/
Copy pathvalhalla.yml
File metadata and controls
45 lines (44 loc) · 1.58 KB
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
# This file is used by valhalla tool to create release 🌌
# Visit https://github.com/logchange/valhalla and leave a star 🌟
# More info about configuration you can find https://github.com/logchange/valhalla#%EF%B8%8F-configuration ⬅️
extends:
- https://raw.githubusercontent.com/logchange/valhalla/master/valhalla-extends.yml
version:
from_command: "mvn help:evaluate -Dexpression=project.version -q -DforceStdout | sed 's/-SNAPSHOT//'"
variables:
MY_VARIABLE: Some value
PARENT_VARIABLE_OVERRIDE: new value from child yml! It works!
git_host: gitlab
commit_before_release:
enabled: True
username: Test1234
email: test-valhalla@logchange.dev
msg: Releasing version {VERSION}
before:
- echo "test" > some_file4.md
- mkdir -p changelog/v{VERSION}
- echo "Super release description for tests {MY_VARIABLE}" > changelog/v{VERSION}/version_summary.md
release:
description:
from_command: "cat changelog/v{VERSION}/version_summary.md"
assets: # https://docs.gitlab.com/ee/api/releases/#create-a-release
links:
- name: Documentation
url: https://google.com/q?={VERSION}
link_type: other
- name: Docker Image
url: https://dockerhub.com/q?={VERSION}
link_type: image
commit_after_release:
enabled: True
username: Test1234
email: test-valhalla@logchange.dev
msg: Preparation for next development cycle
before:
- echo "test" > prepare_next_iteration.md
merge_request:
enabled: True
title: Releasing version {VERSION} and preparation for next development cycle
reviewers:
- peter.zmilczak
- some_uknownwnnaa