зеркало из https://github.com/mozilla/glean.git
Merge pull request #1125 from mozilla/metadata-glean
This commit is contained in:
Коммит
883804705b
|
@ -59,6 +59,13 @@ run rm "${WORKSPACE_ROOT}/${FILE}.bak"
|
|||
# update the version in glean-core/csharp/Glean/GleanParser.cs
|
||||
FILE=glean-core/csharp/Glean/GleanParser.cs
|
||||
run $SED -i.bak -E \
|
||||
-e "s/GleanParserVersion = \"[0-9.]+\"/GLEAN_PARSER_VERSION = \"${NEW_VERSION}\"/" \
|
||||
-e "s/GleanParserVersion = \"[0-9.]+\"/GleanParserVersion = \"${NEW_VERSION}\"/" \
|
||||
"${WORKSPACE_ROOT}/${FILE}"
|
||||
run rm "${WORKSPACE_ROOT}/${FILE}.bak"
|
||||
|
||||
# update the version in glean-core/Cargo.toml
|
||||
FILE=glean-core/Cargo.toml
|
||||
run $SED -i.bak -E \
|
||||
-e "s/glean-parser = \"[0-9.]+\"/glean-parser = \"${NEW_VERSION}\"/" \
|
||||
"${WORKSPACE_ROOT}/${FILE}"
|
||||
run rm "${WORKSPACE_ROOT}/${FILE}.bak"
|
||||
|
|
|
@ -17,6 +17,9 @@ include = [
|
|||
"/Cargo.toml"
|
||||
]
|
||||
|
||||
[package.metadata.glean]
|
||||
glean-parser = "1.28.3"
|
||||
|
||||
[badges]
|
||||
circle-ci = { repository = "mozilla/glean", branch = "main" }
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
|
Загрузка…
Ссылка в новой задаче