mirror of https://github.com/opensumi/core
ci: fix version publish scripts (#1266)
* ci: update codecov * ci: fix github helpers
This commit is contained in:
parent
7f9335508a
commit
e6080cd491
|
@ -6,11 +6,8 @@ coverage:
|
|||
# allow coverage to drop by this amount and still post success
|
||||
threshold: 0.5%
|
||||
if_ci_failed: error
|
||||
patch:
|
||||
default:
|
||||
target: 0%
|
||||
if_ci_failed: error
|
||||
only_pulls: true
|
||||
patch: off # no github status notice for coverage of the PR diff.
|
||||
|
||||
codecov:
|
||||
require_ci_to_pass: true
|
||||
notify:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export const createVersionText = (type = 'Pre-Release', version) => {
|
||||
const createVersionText = (type = 'Pre-Release', version) => {
|
||||
return (
|
||||
`🎉 ${type} version ` +
|
||||
version +
|
||||
|
@ -18,4 +18,6 @@ export const createVersionText = (type = 'Pre-Release', version) => {
|
|||
);
|
||||
};
|
||||
|
||||
module.exports = {};
|
||||
module.exports = {
|
||||
createVersionText,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue