docs: establish GSRL v1.0 release convention
This commit is contained in:
22
SOURCE_LOCK.example.json
Normal file
22
SOURCE_LOCK.example.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"_note": "示例文件。尖括号内均为占位符,不代表真实发行或真实通过的校验结果。",
|
||||
"schemaVersion": "gsrl/source-lock/v1",
|
||||
"project": "ExampleProject",
|
||||
"releaseUnit": "example-component",
|
||||
"version": "1.0.0",
|
||||
"source": {
|
||||
"gitRemote": "https://git.example.org/team/ExampleProject.git",
|
||||
"gitCommit": "<完整的40或64位Git Commit SHA>",
|
||||
"gitRef": "refs/tags/v1.0.0"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"name": "example-component-1.0.0.zip",
|
||||
"location": "<正式下载URL或发行目录中的相对路径>",
|
||||
"sha256": "<文件SHA-256,64位十六进制>"
|
||||
}
|
||||
],
|
||||
"dependencies": [],
|
||||
"usage": "release/1.0.0/使用说明.md",
|
||||
"status": "EXAMPLE_NOT_RELEASED"
|
||||
}
|
||||
Reference in New Issue
Block a user