Skip to content

Commit

Permalink
v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Strum355 committed Feb 12, 2021
1 parent 35b8667 commit 3dfaed7
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Get tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
id: tag
run: echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: $VERSION
release_name: Release $VERSION
tag_name: ${{ steps.tag.outputs.version }}
release_name: Release ${{ steps.tag.outputs.version }}
draft: false
prerelease: false
release-server:
Expand All @@ -46,7 +47,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ needs.empty-release.outputs.upload_url }}
asset_path: target/release/mcshader-lsp
asset_name: mcshader-lsp-${{ matrix.platforms.target }}
asset_content_type: application/octet-stream
Expand All @@ -56,7 +57,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: npm i
- run: npm i -g rollup
- uses: HaaLeo/publish-vscode-extension@v0
id: vsce_release
with:
Expand Down
3 changes: 3 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"request": "launch",
"name": "Launch Client",
"runtimeExecutable": "${execPath}",
"env": {
"MCSHADER_DEBUG": "true"
},
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
"preLaunchTask": {
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Please see [CONTRIBUTING.md](https://github.com/Strum355/mcshader-lsp/blob/maste
- Multi-workspaces (currently only one is supported and using multiple is very undefined behaviour)
- Warnings for unused uniforms/varyings
- Lint for all #define value combinations
- Compute shader support
- Some cool `DRAWBUFFERS` stuff

Got a feature request? Chuck it into an Issue!
Expand Down
3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "vscode-mc-shader-client",
"scripts": {
"compile": "tsc -p ./"
"compile": "tsc -p ./",
"rollup": "rollup -c"
},
"dependencies": {
"adm-zip": "^0.4.14",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-mc-shader",
"displayName": "Minecraft GLSL Shaders",
"description": "A Visual Studio Code extension for linting/etc Minecraft GLSL Shaders",
"version": "1.0.0-unreleased",
"version": "0.9.0",
"publisher": "Strum355",
"author": "Noah Santschi-Cooney (Strum355)",
"license": "MIT",
Expand Down Expand Up @@ -65,10 +65,10 @@
}
},
"scripts": {
"vscode:prepublish": "npm run compile && cd client && rollup -c",
"vscode:prepublish": "npm run compile && cd client && npm run rollup",
"compile": "tsc -b",
"package": "vsce package -o vscode-mc-shader.vsix",
"watch": "concurrently \"tsc -b -w\" \"cd server && MCSHADER_DEBUG=true cargo watch -x build\"",
"watch": "concurrently \"tsc -b -w\" \"cd server && cargo watch -x build\"",
"postinstall": "cd client && npm install",
"lint": "eslint 'client/**/*.ts' --max-warnings 1",
"fix": "eslint 'client/**/*.ts' --fix"
Expand Down

0 comments on commit 3dfaed7

Please sign in to comment.