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

Updated release workflow #1749

Merged
merged 3 commits into from
Dec 23, 2023
Merged

Updated release workflow #1749

merged 3 commits into from
Dec 23, 2023

Conversation

sebjulliand
Copy link
Collaborator

@sebjulliand sebjulliand commented Dec 22, 2023

Changes

This PR enhances the release workflow by automating the version number change. This allows to make a new release without the need to create a PR to bump the version number in package.json.

It does the following:

  1. Updates the version to match the release tag's
  2. Packages once using vsce (through npx)
  3. Publishes the package on the marketplace and openvsx
  4. Attaches the vsix as a release asset
  5. Commits the version number change, moves the release tags to this commit and pushes it all
  6. Updates the version with a new prerelease version, bearing the -dev suffix
  7. Commits and pushes the version update

It also uses Node 18 for building.

Checklist

  • have tested my change (on another repo)

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Copy link
Contributor

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me. One way to find out if it works is by making a release, I guess? :)

@worksofliam worksofliam merged commit 6f7907f into master Dec 23, 2023
1 check passed
@sebjulliand sebjulliand deleted the feature/releaseProcessRevenge branch December 23, 2023 21:06
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

2 participants