Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

await new version after cargo update and add ignore_published #292

Closed
wants to merge 5 commits into from

Conversation

wangfenjin
Copy link

address #291

@wangfenjin
Copy link
Author

Not sure if it will work, but I can help to test it

@wangfenjin
Copy link
Author

wangfenjin commented Sep 4, 2021

How to build the package? when I run all it failed

zsh: npm run all

> publish-crates@0.1.0 all
> npm run build && npm run format && npm run lint && npm run package && npm test


> publish-crates@0.1.0 build
> tsc
src/crates.ts:38:62 - error TS2571: Object is of type 'unknown'.

38         throw new Error(`Error when parsing response JSON: ${error.message}`)
                                                                ~~~~~

src/github.ts:83:63 - error TS2571: Object is of type 'unknown'.

83             `Unable to retrieve history from GitHub due to: ${error.message}`
                                                                 ~~~~~

src/main.ts:68:25 - error TS2571: Object is of type 'unknown'.

68                         error(`publish error {error.message}`)
                           ~~~~~

src/main.ts:69:49 - error TS2571: Object is of type 'unknown'.

69                         if (ignore_published && error.message.includes(`crate version \`${package_info.path}\` is already uploaded`)) {
                                                   ~~~~~

src/main.ts:74:39 - error TS2571: Object is of type 'unknown'.

74                             setFailed(error.message)
                                         ~~~~~

src/main.ts:81:19 - error TS2571: Object is of type 'unknown'.

81         setFailed(error.message)
                     ~~~~~

src/package.ts:39:60 - error TS2571: Object is of type 'unknown'.

39             `Manifest file '${manifest_path}' not found (${error.message})`
                                                              ~~~~~

src/package.ts:47:69 - error TS2571: Object is of type 'unknown'.

47             `Error when reading manifest file '${manifest_path}' (${error.message})`
                                                                       ~~~~~

src/package.ts:54:69 - error TS2571: Object is of type 'unknown'.

54             `Error when parsing manifest file '${manifest_path}' (${error.message})`
                                                                       ~~~~~


Found 9 errors.

@wangfenjin wangfenjin closed this Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant