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

CI: Deploy to the VSCode marketplace #22

Merged
merged 3 commits into from
Sep 11, 2024
Merged

Conversation

jiribenes
Copy link
Contributor

@jiribenes jiribenes commented Sep 10, 2024

Resolves #21

Untested [EDIT: see below!], needs VSCE_PAT (a personal access token for publishing an extension, see here)

@jiribenes
Copy link
Contributor Author

Could you generate a PAT for VSCode Marketplace (see link above) and add it to the repo secrets, @b-studios?
Then we could merge this and test it -- it's not a one-click release, but it's close enough for what we need.

@jiribenes
Copy link
Contributor Author

Thanks for the token, let's try this! :)

@jiribenes jiribenes merged commit 399a64c into master Sep 11, 2024
1 check passed
@jiribenes jiribenes deleted the feature/deploy-marketplace branch September 11, 2024 08:31
@jiribenes
Copy link
Contributor Author

jiribenes commented Sep 11, 2024

Everything seems to have worked the first time 🥳
Since I can't put it into the README, here's how to release a new version:


Run the following commands to release a new version:

# Make sure you're on the latest `master`

git checkout master && git pull

# Depending on if the new change is minor or a patch (choose one)
# Creates a commit with the version bump and a tag

npm version [minor/patch] -m "Release v%s"

# Push the resulting commit

git push 

# Push the tag

git push --tags

then go see if the release went okay in the Actions tab: https://github.com/effekt-lang/effekt-vscode/actions/workflows/deploy.yml.

@b-studios
Copy link
Collaborator

Since I can't put it into the README

Can't we put this into something like CONTRIBUTE.md or the like?

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.

Set-up CI for automated releases into the VSCode extension marketplace
2 participants