Skip to content

Commit

Permalink
setting up deploy from github actions (#117)
Browse files Browse the repository at this point in the history
* setting up deploy from github actions

* fix linting, add "ls -lh"

* list publishers

* fix ci, add changlog for v0.18

* update package-lock.json
  • Loading branch information
samuelcolvin committed Aug 30, 2022
1 parent 41bd7c2 commit 135858f
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 8 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,22 @@ jobs:

- run: npm install
- run: npm run lint

deploy:
needs: [lint]
if: "success() && startsWith(github.ref, 'refs/tags/')"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
with:
node-version: '16.x'

- run: npm install -g vsce
- run: vsce ls
- run: vsce package
- run: vsce publisher --githubBranch main --no-git-tag-version
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ vsc-extension-quickstart.md
examples/**
deploy.md
.pre-commit-config.yaml
.prettierignore
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Change Log

## [0.18] - 2022-08-30

- Automate deploy, #117
- Add folding ranges, #114
- Improve bracket pair highlighting, #115
- add `.idea`, `.github` and `env` to `.vscodeignore`, fix #96
- Format code with prettier, #113
- Add support for Python typing stub `.pyi` files, #111
- Add support for Cython files, #110
- Better explain LaTeX syntax, #112

## [0.17] - 2022-03-02

- Add support for rust files, #101
- Add support for Cisco IOS config files, #95
- Create add jinja PHP support, #99
- Add support for breakpoints and c file extensions, #97
- Fix default Java file associations in documentation, #86

## [0.16] - 2021-01-14

- Add support for java files by @StoneLabs
Expand Down
9 changes: 4 additions & 5 deletions deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ code examples/ --extensionDevelopmentPath=.

# To deploy

Make sure `vsce` is installed an up-to-date. (`yarn global add vsce`)
Update:

Then:

vsce package
vsce publish
- `CHANGELOG.md`
- `package.json::version`
- create a github release
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jinjahtml",
"displayName": "Better Jinja",
"description": "Syntax highlighting for jinja(2) including HTML, Markdown, YAML, Ruby and LaTeX templates",
"version": "0.17.0",
"version": "0.18.0",
"publisher": "samuelcolvin",
"author": "Samuel Colvin",
"engines": {
Expand Down

0 comments on commit 135858f

Please sign in to comment.