Skip to content

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
merged 1 commit into from
Apr 26, 2024
Merged

Update release-client.sh script #1155

merged 1 commit into from
Apr 26, 2024

Conversation

Jimmyscene
Copy link
Contributor

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

@Jimmyscene
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!

@Jimmyscene

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
6 checks passed
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.

2 participants