forked from idc101/git-mkver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
git-mkver.conf
47 lines (47 loc) · 891 Bytes
/
git-mkver.conf
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
# We won't set most of the defaults, the application defaults are fine
defaults {
patches: [
Sbt
Installers
ScalaVersion
]
}
patches: [
{
name: Sbt
filePatterns: ["build.sbt"]
replacements: [
{
find: "version\\s+:=\\s+\"{VersionRegex}\""
replace: "version := \"{Next}\""
}
]
}
{
name: Installers
filePatterns: [
"docs/installation.md"
"etc/Formula/git-mkver.rb"
"etc/scoop/git-mkver.json"
"etc/shell/install.sh"
]
replacements: [
{
find: "{VersionRegex}"
replace: "{Version}"
}
]
}
{
name: ScalaVersion
filePatterns: [
"src/main/scala/net/cardnell/mkver/package.scala"
]
replacements: [
{
find: "val GitMkverVersion = \"{VersionRegex}\""
replace: "val GitMkverVersion = \"{Version}\""
}
]
}
]