forked from xdy/foundryvtt-lang-sv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease
58 lines (58 loc) · 1.55 KB
/
release
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
#!/bin/sh
set -o errexit
echo -n 'version: '
read VERSION
echo -n 'min core version: '
read MINIMUM_CORE_VERSION
echo -n 'max core version: '
read COMPATIBLE_CORE_VERSION
cat >module.json <<EOF
{
"name" : "lang-sv",
"title" : "Swedish [Core]",
"version" : "$VERSION",
"minimumCoreVersion" : "$MINIMUM_CORE_VERSION",
"compatibleCoreVersion" : "$COMPATIBLE_CORE_VERSION",
"author" : "xdy",
"description" : "Swedish language support for Foundry VTT",
"coreTranslation": true,
"languages" : [
{
"lang" : "sv",
"name" : "Svenska",
"path" : "sv.json"
}
],
"packs" : [],
"scripts" : [],
"styles" : [],
"url" : "https://github.com/xdy/foundryvtt-lang-sv",
"manifest" : "https://raw.githubusercontent.com/xdy/foundryvtt-lang-sv/master/module.json",
"download" : "https://github.com/xdy/foundryvtt-lang-sv/archive/v$VERSION.zip",
"manifestPlusVersion": "1.0.0",
"authors": [
{
"name": "Jonas Karlsson",
"url": "https://gnu.xdy.se/home",
"discord": "xdy#3735",
"twitter": "@xdy",
"reddit": "u/xdydxy"
}
],
"media": [
{
"type": "icon",
"url": "https://raw.githubusercontent.com/xdy/foundryvtt-lang-sv/master/foundry_lang_sv.svg"
},
{
"type": "cover",
"url": "https://raw.githubusercontent.com/xdy/foundryvtt-lang-sv/master/foundry_lang_sv.svg"
}
]
}
EOF
git add --all
git commit -m "Released version $VERSION"
git tag --force "v$VERSION"
git push --tags --force
git push