Skip to content

Commit 53711cd

Browse files
authored
Clean up from rust migration, rename of master --> main (#124)
1 parent a0f87f0 commit 53711cd

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
name: Tests
2+
13
on:
24
push:
35
pull_request:
6+
schedule:
7+
- cron: "0 0 15 * *"
48

59
jobs:
610
build:

DEVELOP.md

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Developing this extension
22

3-
Thank you for your interest in helping develop this extension. If you're new to developing VSCode extensions, then you may want to try and follow the quickstart below. If something doesn't work, feel free to open an issue or submit a PR fixing this documentation!
3+
Thank you for your interest in helping develop this extension. To get up and running, follow the guide below. If something doesn't work, feel free to open an issue or submit a PR fixing this documentation!
44

55
## Quickstart
66

@@ -13,29 +13,33 @@ Thank you for your interest in helping develop this extension. If you're new to
1313
1. You can manually test your changes by navigating to "Run and Debug" -> "Run Extension" -> green arrow. This opens a sandboxed version of vscode with your updated extension.
1414
1. You should add unit tests for your functionality as well. These go under `src/test/suite`, or in `src/lib.rs` if you are modifying the rust code. *Your PR will likely not be merged without unit tests.*
1515

16-
# Release check list
16+
# Maintaining this extension
17+
18+
The following items are relevant if you are actively maintaining this extension. I wrote this documentation for myself, since I have to do these maintenance actions approximately once a year at this point.
19+
20+
## Release check list
1721

1822
You will need [`vsce`](https://github.com/Microsoft/vscode-vsce) installed.
1923

20-
If it has expired, get a new token. Follow the instructions [here](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token).
24+
If needed, get a new access token. Follow the instructions [here](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token).
2125

2226
1. The [CHANGELOG](./CHANGELOG.md) has been updated.
23-
1. `git checkout master`
27+
1. `git checkout main`
2428
1. `git pull`
2529
1. Smoke test (run extension through debugger, open `smoke_test.py`, press `enter` after each line and make sure it looks good).
26-
1. CI has passed on the master branch.
27-
1. `vsce publish {patch,minor,major}`
30+
1. CI has passed on the main branch.
31+
1. `vsce publish {patch,minor,major}` and optionally use the `--pre-release` argumentvs
2832
1. `vsce package`
2933
1. `git push; git push --tags`
3034
1. On GitHub, draft a release using the existing tag that was created by the `publish` command.
3135
* If you are not told that the tag already exists, then you have a typo, or you missed a step.
3236
1. Attach the `.vsix` artifact created by the `package` command to the draft release.
3337
1. Publish the release.
3438

35-
# Getting CI to work
39+
## Getting CI to work
3640

37-
...
41+
Follow the instructions [here](https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions).
3842

39-
# Extension reporting hub
43+
## Extension reporting hub
4044

4145
https://marketplace.visualstudio.com/manage/publishers/kevinrose/extensions/vsc-python-indent/hub (requries login)

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ Correct Python indentation in Visual Studio Code. See the extension on the [VSCo
66

77
Theme shown is _Community Theme Palenight_ from [_Community Material Theme_](https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-community-material-theme) v1.4.4.
88

9-
[![Build Status](https://dev.azure.com/kevinbrose/vsc-python-indent/_apis/build/status/vsc-python-indent-CI?branchName=master)](https://dev.azure.com/kevinbrose/vsc-python-indent/_build/latest?definitionId=1&branchName=master)
9+
[![Build Status](https://github.com/kbrose/vsc-python-indent/actions/workflows/ci.yml/badge.svg)](https://github.com/kbrose/vsc-python-indent/actions?query=branch%3Amain)
1010
[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/KevinRose.vsc-python-indent)](https://marketplace.visualstudio.com/items?itemName=KevinRose.vsc-python-indent)
11-
[![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/KevinRose.vsc-python-indent)](https://marketplace.visualstudio.com/items?itemName=KevinRose.vsc-python-indent)
1211

1312
## How it works
1413

0 commit comments

Comments
 (0)