Skip to content

Commit bef1f14

Browse files
committed
chore: upgrade tooth.json to schema version 3
1 parent ed487e7 commit bef1f14

File tree

2 files changed

+119
-88
lines changed

2 files changed

+119
-88
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [1.1.0] - 2025-03-06
9+
10+
### Changed
11+
12+
- Upgrade tooth.json to schema version 3
913

1014
## [1.0.5] - 2024-12-14
1115

@@ -96,7 +100,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
96100

97101
- Basic functionality
98102

99-
[Unreleased]: https://github.com/LiteLDev/bdsdown/compare/v1.0.4...HEAD
103+
[1.1.0]: https://github.com/LiteLDev/bdsdown/compare/v1.0.5...v1.1.0
104+
[1.0.5]: https://github.com/LiteLDev/bdsdown/compare/v1.0.4...v1.0.5
100105
[1.0.4]: https://github.com/LiteLDev/bdsdown/compare/v1.0.3...v1.0.4
101106
[1.0.3]: https://github.com/LiteLDev/bdsdown/compare/v1.0.2...v1.0.3
102107
[1.0.2]: https://github.com/LiteLDev/bdsdown/compare/v1.0.1...v1.0.2

tooth.json

Lines changed: 112 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,137 @@
11
{
2-
"format_version": 2,
2+
"format_version": 3,
3+
"format_uuid": "289f771f-2c9a-4d73-9f3f-8492495a924d",
34
"tooth": "github.com/LiteLDev/bdsdown",
4-
"version": "1.0.5",
5+
"version": "1.1.0",
56
"info": {
67
"name": "bdsdown",
78
"description": "Downloader for Minecraft BDS",
8-
"author": "LiteLDev",
99
"tags": [
1010
"utility"
1111
]
1212
},
13-
"platforms": [
13+
"variants": [
1414
{
15-
"goos": "darwin",
16-
"goarch": "amd64",
17-
"asset_url": "https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-darwin-amd64.tar.gz",
18-
"commands": {
19-
"post_install": [
20-
"chmod +x ./bdsdown"
21-
]
22-
},
23-
"files": {
24-
"place": [
25-
{
26-
"src": "bdsdown",
27-
"dest": "bdsdown"
28-
}
29-
]
30-
}
15+
"platform": "osx-x64",
16+
"assets": [
17+
{
18+
"type": "tgz",
19+
"urls": [
20+
"https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-darwin-amd64.tar.gz"
21+
],
22+
"placements": [
23+
{
24+
"type": "file",
25+
"src": "bdsdown",
26+
"dest": "bdsdown"
27+
}
28+
]
29+
}
30+
]
3131
},
3232
{
33-
"goos": "darwin",
34-
"goarch": "arm64",
35-
"asset_url": "https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-darwin-arm64.tar.gz",
36-
"commands": {
37-
"post_install": [
38-
"chmod +x ./bdsdown"
39-
]
40-
},
41-
"files": {
42-
"place": [
43-
{
44-
"src": "bdsdown",
45-
"dest": "bdsdown"
46-
}
47-
]
48-
}
33+
"platform": "osx-arm64",
34+
"assets": [
35+
{
36+
"type": "tgz",
37+
"urls": [
38+
"https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-darwin-arm64.tar.gz"
39+
],
40+
"placements": [
41+
{
42+
"type": "file",
43+
"src": "bdsdown",
44+
"dest": "bdsdown"
45+
}
46+
]
47+
}
48+
]
4949
},
5050
{
51-
"goos": "linux",
52-
"goarch": "amd64",
53-
"asset_url": "https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-linux-amd64.tar.gz",
54-
"commands": {
55-
"post_install": [
56-
"chmod +x ./bdsdown"
57-
]
58-
},
59-
"files": {
60-
"place": [
61-
{
62-
"src": "bdsdown",
63-
"dest": "bdsdown"
64-
}
65-
]
66-
}
51+
"platform": "linux-x64",
52+
"assets": [
53+
{
54+
"type": "tgz",
55+
"urls": [
56+
"https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-linux-amd64.tar.gz"
57+
],
58+
"placements": [
59+
{
60+
"type": "file",
61+
"src": "bdsdown",
62+
"dest": "bdsdown"
63+
}
64+
]
65+
}
66+
]
6767
},
6868
{
69-
"goos": "linux",
70-
"goarch": "arm64",
71-
"asset_url": "https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-linux-arm64.tar.gz",
72-
"commands": {
73-
"post_install": [
74-
"chmod +x ./bdsdown"
75-
]
76-
},
77-
"files": {
78-
"place": [
79-
{
80-
"src": "bdsdown",
81-
"dest": "bdsdown"
82-
}
83-
]
84-
}
69+
"platform": "linux-arm64",
70+
"assets": [
71+
{
72+
"type": "tgz",
73+
"urls": [
74+
"https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-linux-arm64.tar.gz"
75+
],
76+
"placements": [
77+
{
78+
"type": "file",
79+
"src": "bdsdown",
80+
"dest": "bdsdown"
81+
}
82+
]
83+
}
84+
]
8585
},
8686
{
87-
"goos": "windows",
88-
"goarch": "amd64",
89-
"asset_url": "https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-windows-amd64.zip",
90-
"files": {
91-
"place": [
92-
{
93-
"src": "bdsdown.exe",
94-
"dest": "bdsdown.exe"
95-
}
87+
"platform": "win-x64",
88+
"assets": [
89+
{
90+
"type": "zip",
91+
"urls": [
92+
"https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-windows-amd64.zip"
93+
],
94+
"placements": [
95+
{
96+
"type": "file",
97+
"src": "bdsdown.exe",
98+
"dest": "bdsdown.exe"
99+
}
100+
]
101+
}
102+
]
103+
},
104+
{
105+
"platform": "win-arm64",
106+
"assets": [
107+
{
108+
"type": "zip",
109+
"urls": [
110+
"https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-windows-arm64.zip"
111+
],
112+
"placements": [
113+
{
114+
"type": "file",
115+
"src": "bdsdown.exe",
116+
"dest": "bdsdown.exe"
117+
}
118+
]
119+
}
120+
]
121+
},
122+
{
123+
"platform": "osx-*",
124+
"scripts": {
125+
"install": [
126+
"chmod +x ./bdsdown"
96127
]
97128
}
98129
},
99130
{
100-
"goos": "windows",
101-
"goarch": "arm64",
102-
"asset_url": "https://github.com/LiteLDev/bdsdown/releases/download/v1.0.5/bdsdown-windows-arm64.zip",
103-
"files": {
104-
"place": [
105-
{
106-
"src": "bdsdown.exe",
107-
"dest": "bdsdown.exe"
108-
}
131+
"platform": "linux-*",
132+
"scripts": {
133+
"install": [
134+
"chmod +x ./bdsdown"
109135
]
110136
}
111137
}

0 commit comments

Comments
 (0)