Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update release-client.sh script #1155

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

Merged
skovhus merged 1 commit into bash-lsp:main from Jimmyscene:ci_fixes
Apr 26, 2024
Merged

Update release-client.sh script #1155

skovhus merged 1 commit into bash-lsp:main from Jimmyscene:ci_fixes
Apr 26, 2024

Conversation

Copy link
Contributor

@Jimmyscene Jimmyscene commented Apr 25, 2024

Update vscde to latest version (vsce is depresated in favor of @vscode/vsce)

The current code has an || echo that masks failures from vsce publish, in order to not fail the pipeline when the published version already exists.

The latest version of vsce adds a --skip-duplicate flag, this allows us to fail silently if the version already exists on the marketplace, so IMO this is a better way to handle that

Copy link
Contributor Author

I don't actually have a way to test this, but I think it should be okay

If you disagree with this, feel free to close, but I thought it might be a good idea 😄

Thanks for reviewing!

This comment was marked as outdated.

@Jimmyscene Jimmyscene changed the title (削除) Update release-client.sh script (削除ここまで) (追記) WIP: Update release-client.sh script (追記ここまで) Apr 25, 2024
@Jimmyscene Jimmyscene marked this pull request as draft April 25, 2024 05:54
Update vscde to latest version (vsce is depresated in favor of @vscode/vsce)
Add --skip-duplicate flag, this allows us to fail silently if the version already exists on the marketplace, which was why we had the "|| echo" before, but it also hid real failures, so IMO this is a better way to handle that
Also update snapshot, since I moved `tagRelease` to the next line, one
of the tests failed
Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.52%. Comparing base (f8b202b) to head (d272cb2).
Report is 3 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@
## main #1155 +/- ##
=======================================
 Coverage 81.52% 81.52% 
=======================================
 Files 28 28 
 Lines 1348 1348 
 Branches 320 320 
=======================================
 Hits 1099 1099 
 Misses 204 204 
 Partials 45 45 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jimmyscene Jimmyscene marked this pull request as ready for review April 25, 2024 06:04
@Jimmyscene Jimmyscene changed the title (削除) WIP: Update release-client.sh script (削除ここまで) (追記) Update release-client.sh script (追記ここまで) Apr 25, 2024
@skovhus skovhus merged commit 602eaf4 into bash-lsp:main Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@skovhus skovhus skovhus left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /