mirror of
https://gh-proxy.org/https://github.com/softprops/action-gh-release.git
synced 2026-07-18 17:13:00 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d7c94cfd0 | |||
| 6ffed59e55 | |||
| 1ce812a7bd |
+3
-1
@@ -1,4 +1,6 @@
|
|||||||
## 2.0.4 (unreleased)
|
## 2.0.4
|
||||||
|
|
||||||
|
- Minor follow up to [#417](https://github.com/softprops/action-gh-release/pull/417). [#425](https://github.com/softprops/action-gh-release/pull/425)
|
||||||
|
|
||||||
## 2.0.3
|
## 2.0.3
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-1
@@ -8,7 +8,8 @@
|
|||||||
"build": "ncc build src/main.ts --minify",
|
"build": "ncc build src/main.ts --minify",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
|
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
|
||||||
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\""
|
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"",
|
||||||
|
"updatetag": "git tag -d v2 && git push origin :v2 && git tag -a v2 -m '' && git push origin v2"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
+5
-1
@@ -67,7 +67,11 @@ async function run() {
|
|||||||
if (config.input_files && config.input_files.length > 0) {
|
if (config.input_files && config.input_files.length > 0) {
|
||||||
const files = paths(config.input_files);
|
const files = paths(config.input_files);
|
||||||
if (files.length == 0) {
|
if (files.length == 0) {
|
||||||
throw new Error(`⚠️ ${config.input_files} not include valid file.`);
|
if (config.input_fail_on_unmatched_files) {
|
||||||
|
throw new Error(`⚠️ ${config.input_files} not include valid file.`);
|
||||||
|
} else {
|
||||||
|
console.warn(`🤔 ${config.input_files} not include valid file.`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
const currentAssets = rel.assets;
|
const currentAssets = rel.assets;
|
||||||
const assets = await Promise.all(
|
const assets = await Promise.all(
|
||||||
|
|||||||
Reference in New Issue
Block a user