-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrelease
80 lines (80 loc) · 2.05 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/sh
set -o errexit
echo -n 'version (do not add v): '
read VERSION
echo -n 'min core version: '
read MINIMUM_CORE_VERSION
echo -n 'verified core version: '
read VERIFIED_CORE_VERSION
cat >module.json <<EOF
{
"id" : "lang-sv",
"title" : "Swedish [Core] - Foundry på svenska",
"version" : "$VERSION",
"compatibility": {
"minimum": "$MINIMUM_CORE_VERSION",
"verified": "$VERIFIED_CORE_VERSION"
},
"author" : "xdy",
"description" : "Swedish language support for Foundry VTT - Foundry på svenska",
"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",
"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",
"loop": false,
"flags": {}
},
{
"type": "cover",
"url": "https://raw.githubusercontent.com/xdy/foundryvtt-lang-sv/master/foundry_lang_sv.svg",
"loop": false,
"flags": {}
},
{
"type": "setup",
"caption": "Foundry på Svenska",
"thumbnail": "/modules/lang-sv/foundry_lang_sv.svg",
"loop": false,
"flags": {}
}
],
"flags": {
"media": [
{
"type": "cover",
"url": "https://raw.githubusercontent.com/xdy/foundryvtt-lang-sv/master/foundry_lang_sv.svg"
}
],
"manifestPlusVersion": "1.2.0",
"allowBugReporter": true
}
}
EOF
git add --all
git commit -m "Released version $VERSION"
git tag --force "v$VERSION"
git push --tags --force
git push